#B2B45F

#b2b45f ≈ Dark Khaki

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

#b2b45f is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 69.8% red, 70.59% green and 37.25% blue; printed in CMYK it uses 1.11% cyan, 0% magenta, 47.22% yellow and 29.41% black. Its hue angle is 61.41°, with 36.17% saturation and 53.92% 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.59:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 2.95.

Description generated from the measured properties of this color.

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

Readable text 2.19:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.59:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #afafaf ≈ 0.003% of males
Achromatomaly #b0b196 ≈ 0.001% of males
Protanopia #c0ae58 ≈ 1.01% of males
Deuteranopia #c1b163 ≈ 1.27% of males
Tritanopia #bcaba0 ≈ 0.0001% of males
Protanomaly #bab05b ≈ 1.08% of males
Deuteranomaly #bbb262 ≈ 4.63% of males
Tritanomaly #b8af8b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b2b45f {
  color: #b2b45f;
}
Background
.bg-b2b45f {
  background-color: #b2b45f;
  color: #000000;
}
Border
.border-b2b45f {
  border: 2px solid #b2b45f;
}
CSS variables
:root {
  --color-primary: #b2b45f;
  --color-primary-rgb: 178 180 95;
  --color-primary-hsl: 61 36% 54%;
}
Gradient
.gradient-b2b45f {
  background: linear-gradient(135deg, #b2b45f, #87b45f);
}
Colored shadow
.shadow-b2b45f {
  box-shadow: 0 8px 24px rgb(178 180 95 / 0.35);
}

Dark Khaki
#b2b45f  rgb(178, 180, 95)  hsl(61, 36%, 54%)  Dark Khaki
#615fb4  rgb(97, 95, 180)  hsl(241, 36%, 54%)  Slate Blue
#5fb2b4  rgb(95, 178, 180)  hsl(181, 36%, 54%)  Verdigris
#b45fb2  rgb(180, 95, 178)  hsl(301, 36%, 54%)  Medium Orchid