#BAB162

#bab162 ≈ Dark Khaki

  • yellow
  • Lightness: medium
  • Saturation: moderate
  • Warm

#bab162 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 72.94% red, 69.41% green and 38.43% blue; printed in CMYK it uses 0% cyan, 4.84% magenta, 47.31% yellow and 27.06% black. Its hue angle is 53.86°, with 38.94% saturation and 55.69% lightness in HSL. It is a warm color, often associated with optimism, attention and joy. Designers typically use it for highlights and warnings, children's products and brand accents. Black text on this color reaches a contrast ratio of 9.55:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 1.88.

Description generated from the measured properties of this color.

Conversions of #bab162 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc9966
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.4277

Readable text 2.2:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.55:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #afafaf ≈ 0.003% of males
Achromatomaly #b3b096 ≈ 0.001% of males
Protanopia #beac5b ≈ 1.01% of males
Deuteranopia #c1b165 ≈ 1.27% of males
Tritanopia #c5a79e ≈ 0.0001% of males
Protanomaly #bcae5e ≈ 1.08% of males
Deuteranomaly #beb164 ≈ 4.63% of males
Tritanomaly #c1ab8a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-bab162 {
  color: #bab162;
}
Background
.bg-bab162 {
  background-color: #bab162;
  color: #000000;
}
Border
.border-bab162 {
  border: 2px solid #bab162;
}
CSS variables
:root {
  --color-primary: #bab162;
  --color-primary-rgb: 186 177 98;
  --color-primary-hsl: 54 39% 56%;
}
Gradient
.gradient-bab162 {
  background: linear-gradient(135deg, #bab162, #97ba62);
}
Colored shadow
.shadow-bab162 {
  box-shadow: 0 8px 24px rgb(186 177 98 / 0.35);
}

Dark Khaki
#bab162  rgb(186, 177, 98)  hsl(54, 39%, 56%)  Dark Khaki
#626bba  rgb(98, 107, 186)  hsl(234, 39%, 56%)  Royal Blue
#62bab1  rgb(98, 186, 177)  hsl(174, 39%, 56%)  Verdigris
#b162ba  rgb(177, 98, 186)  hsl(294, 39%, 56%)  Medium Orchid