#B7AC4E#B7AC4E
#B7AC4E is a light, moderate yellow. Relative luminance 0.401; OKLCH L 73.5% C 0.116 H 102.7°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #B7AC4E |
|---|---|
| RGB | rgb(183, 172, 78) |
| HSL | hsl(54, 42%, 51%) |
| HSV | hsv(54, 57%, 72%) |
| CMYK | cmyk(0%, 6%, 57.4%, 28.2%) |
| CIE-LAB | lab(69.56, -8.17, 48.85) |
| CIE-LCH | lch(69.56, 49.53, 99.50°) |
| OKLab | oklab(73.47% -0.0255 0.1134) |
| OKLCH | oklch(73.47% 0.116 102.7) |
| XYZ | xyz(35.6573, 40.1237, 13.0726) |
| Luminance | 0.4012 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.53
Khaki (survey)
#AAA662
ΔE00 5.23
Muddy Yellow
#BFAC05
ΔE00 6.44
Vomit
#A2A415
ΔE00 6.45
Puke
#A5A502
ΔE00 6.63
Desert
#CCAD60
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7AC4E #4E59B7
analogous
#B7774E #B7AC4E #8DB74E
triadic
#B7AC4E #4EB7AC #AC4EB7
tetradic
#B7AC4E #4EB777 #4E59B7 #B74E8D
square
#B7AC4E #4EB777 #4E59B7 #B74E8D
split-complementary
#B7AC4E #4E8DB7 #774EB7
monochromatic
#635C28 #8E853A #B7AC4E #C9C07A #DAD5A5
Accessibility & contrast
On white
2.33
#B7AC4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.02
#B7AC4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7AC4E
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7AC4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7AC4E | 1.00 | 2.33 | 9.02 | 9.02 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA744
Deuteranopia (green-blind)
#BDAC53
Tritanopia (blue-blind)
#C4A197
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #b7ac4e; /* rgb */ color: rgb(183, 172, 78); /* oklch */ color: oklch(73.5% 0.116 102.7);
Tailwind
colors: {
custom: {
50: '#cfc483',
500: '#b7ac4e',
950: '#000000',
},
}SCSS
$custom: #b7ac4e; $custom-light: #cfc483; $custom-dark: #000000;
JSON
{
"hex": "#b7ac4e",
"rgb": {
"r": 183,
"g": 172,
"b": 78
},
"hsl": {
"h": 53.714,
"s": 42.169,
"l": 51.176
},
"oklch": {
"l": 0.73475,
"c": 0.1162,
"h": 102.7
},
"luminance": 0.40122
}Semantic roles & 50–950 ramp
primary
#B7AC4E
secondary
#999EC8
accent
#63D256
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14120B
muted
#83817C