#B2AC74#B2AC74
#B2AC74 is a light, moderate yellow. Relative luminance 0.402; OKLCH L 73.6% C 0.075 H 102.8°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #B2AC74 |
|---|---|
| RGB | rgb(178, 172, 116) |
| HSL | hsl(54, 29%, 58%) |
| HSV | hsv(54, 35%, 70%) |
| CMYK | cmyk(0%, 3.4%, 34.8%, 30.2%) |
| CIE-LAB | lab(69.63, -6.46, 29.62) |
| CIE-LCH | lch(69.63, 30.32, 102.31°) |
| OKLab | oklab(73.6% -0.0167 0.0733) |
| OKLCH | oklch(73.6% 0.075 102.8) |
| XYZ | xyz(36.2654, 40.2318, 22.3747) |
| Luminance | 0.4023 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.31
Sand
#C2B280
ΔE00 4.49
Darkkhaki
#BDB76B
ΔE00 4.79
Putty
#BEAE8A
ΔE00 6.92
Stone (survey)
#ADA587
ΔE00 7.09
Sandstone
#C9AE74
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2AC74 #747AB2
analogous
#B28D74 #B2AC74 #99B274
triadic
#B2AC74 #74B2AC #AC74B2
tetradic
#B2AC74 #74B28D #747AB2 #B27499
square
#B2AC74 #74B28D #747AB2 #B27499
split-complementary
#B2AC74 #7499B2 #8D74B2
monochromatic
#6E6A3D #968F53 #B2AC74 #C8C49B #DEDBC3
Accessibility & contrast
On white
2.32
#B2AC74 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.05
#B2AC74 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2AC74
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2AC74 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2AC74 | 1.00 | 2.32 | 9.05 | 9.05 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A870
Deuteranopia (green-blind)
#B8AC76
Tritanopia (blue-blind)
#BBA59E
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #b2ac74; /* rgb */ color: rgb(178, 172, 116); /* oklch */ color: oklch(73.6% 0.075 102.8);
Tailwind
colors: {
custom: {
50: '#cac49c',
500: '#b2ac74',
950: '#000000',
},
}SCSS
$custom: #b2ac74; $custom-light: #cac49c; $custom-dark: #000000;
JSON
{
"hex": "#b2ac74",
"rgb": {
"r": 178,
"g": 172,
"b": 116
},
"hsl": {
"h": 54.194,
"s": 28.704,
"l": 57.647
},
"oklch": {
"l": 0.73597,
"c": 0.0752,
"h": 102.8
},
"luminance": 0.40231
}Semantic roles & 50–950 ramp
primary
#B2AC74
secondary
#B4B7CD
accent
#6CC563
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13120E
muted
#82817E