#B7AF4E#B7AF4E
#B7AF4E is a light, moderate yellow. Relative luminance 0.413; OKLCH L 74.1% C 0.119 H 104.6°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #B7AF4E |
|---|---|
| RGB | rgb(183, 175, 78) |
| HSL | hsl(55, 42%, 51%) |
| HSV | hsv(55, 57%, 72%) |
| CMYK | cmyk(0%, 4.4%, 57.4%, 28.2%) |
| CIE-LAB | lab(70.37, -9.74, 49.77) |
| CIE-LCH | lch(70.37, 50.71, 101.07°) |
| OKLab | oklab(74.12% -0.03 0.1153) |
| OKLCH | oklch(74.12% 0.119 104.6) |
| XYZ | xyz(36.2347, 41.2785, 13.2651) |
| Luminance | 0.4128 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.20
Khaki (survey)
#AAA662
ΔE00 5.55
Vomit
#A2A415
ΔE00 6.24
Puke
#A5A502
ΔE00 6.42
Muddy Yellow
#BFAC05
ΔE00 6.55
Olive Yellow
#C2B709
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7AF4E #4E56B7
analogous
#B77A4E #B7AF4E #8AB74E
triadic
#B7AF4E #4EB7AF #AF4EB7
tetradic
#B7AF4E #4EB77A #4E56B7 #B74E8A
square
#B7AF4E #4EB77A #4E56B7 #B74E8A
split-complementary
#B7AF4E #4E8AB7 #7A4EB7
monochromatic
#635E28 #8E883A #B7AF4E #C9C37A #DAD6A5
Accessibility & contrast
On white
2.27
#B7AF4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.26
#B7AF4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7AF4E
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7AF4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7AF4E | 1.00 | 2.27 | 9.26 | 9.26 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA944
Deuteranopia (green-blind)
#C0AE53
Tritanopia (blue-blind)
#C3A49A
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #b7af4e; /* rgb */ color: rgb(183, 175, 78); /* oklch */ color: oklch(74.1% 0.119 104.6);
Tailwind
colors: {
custom: {
50: '#cfc683',
500: '#b7af4e',
950: '#000000',
},
}SCSS
$custom: #b7af4e; $custom-light: #cfc683; $custom-dark: #000000;
JSON
{
"hex": "#b7af4e",
"rgb": {
"r": 183,
"g": 175,
"b": 78
},
"hsl": {
"h": 55.429,
"s": 42.169,
"l": 51.176
},
"oklch": {
"l": 0.74121,
"c": 0.11917,
"h": 104.6
},
"luminance": 0.41277
}Semantic roles & 50–950 ramp
primary
#B7AF4E
secondary
#999DC8
accent
#5FD256
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C