#BAB271

#bab271 ≈ Dark Khaki

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

#bab271 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.8% green and 44.31% blue; printed in CMYK it uses 0% cyan, 4.3% magenta, 39.25% yellow and 27.06% black. Its hue angle is 53.42°, with 34.6% saturation and 58.63% 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.69:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 2.39.

Description generated from the measured properties of this color.

Conversions of #bab271 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.4347

Readable text 2.17:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.69:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b0b0b0 ≈ 0.003% of males
Achromatomaly #b4b19b ≈ 0.001% of males
Protanopia #bdae6c ≈ 1.01% of males
Deuteranopia #c0b274 ≈ 1.27% of males
Tritanopia #c4aaa2 ≈ 0.0001% of males
Protanomaly #bcb06e ≈ 1.08% of males
Deuteranomaly #beb273 ≈ 4.63% of males
Tritanomaly #c0ad91 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-bab271 {
  color: #bab271;
}
Background
.bg-bab271 {
  background-color: #bab271;
  color: #000000;
}
Border
.border-bab271 {
  border: 2px solid #bab271;
}
CSS variables
:root {
  --color-primary: #bab271;
  --color-primary-rgb: 186 178 113;
  --color-primary-hsl: 53 35% 59%;
}
Gradient
.gradient-bab271 {
  background: linear-gradient(135deg, #bab271, #9eba71);
}
Colored shadow
.shadow-bab271 {
  box-shadow: 0 8px 24px rgb(186 178 113 / 0.35);
}

Dark Khaki
#bab271  rgb(186, 178, 113)  hsl(53, 35%, 59%)  Dark Khaki
#7179ba  rgb(113, 121, 186)  hsl(233, 35%, 59%)  Glaucous
#71bab2  rgb(113, 186, 178)  hsl(173, 35%, 59%)  Verdigris
#b271ba  rgb(178, 113, 186)  hsl(293, 35%, 59%)  Purple Mountain Majesty