#B7AE4E#B7AE4E
#B7AE4E is a light, moderate yellow. Relative luminance 0.409; OKLCH L 73.9% C 0.118 H 104.0°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #B7AE4E |
|---|---|
| RGB | rgb(183, 174, 78) |
| HSL | hsl(55, 42%, 51%) |
| HSV | hsv(55, 57%, 72%) |
| CMYK | cmyk(0%, 4.9%, 57.4%, 28.2%) |
| CIE-LAB | lab(70.10, -9.22, 49.46) |
| CIE-LCH | lch(70.10, 50.31, 100.56°) |
| OKLab | oklab(73.91% -0.0285 0.1147) |
| OKLCH | oklch(73.91% 0.118 104) |
| XYZ | xyz(36.0408, 40.8907, 13.2005) |
| Luminance | 0.4089 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.28
Khaki (survey)
#AAA662
ΔE00 5.42
Vomit
#A2A415
ΔE00 6.28
Puke
#A5A502
ΔE00 6.46
Muddy Yellow
#BFAC05
ΔE00 6.49
Olive Yellow
#C2B709
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7AE4E #4E57B7
analogous
#B7794E #B7AE4E #8BB74E
triadic
#B7AE4E #4EB7AE #AE4EB7
tetradic
#B7AE4E #4EB779 #4E57B7 #B74E8B
square
#B7AE4E #4EB779 #4E57B7 #B74E8B
split-complementary
#B7AE4E #4E8BB7 #794EB7
monochromatic
#635E28 #8E873A #B7AE4E #C9C27A #DAD6A5
Accessibility & contrast
On white
2.29
#B7AE4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.18
#B7AE4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7AE4E
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7AE4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7AE4E | 1.00 | 2.29 | 9.18 | 9.18 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA944
Deuteranopia (green-blind)
#BFAE53
Tritanopia (blue-blind)
#C3A399
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b7ae4e; /* rgb */ color: rgb(183, 174, 78); /* oklch */ color: oklch(73.9% 0.118 104.0);
Tailwind
colors: {
custom: {
50: '#cfc583',
500: '#b7ae4e',
950: '#000000',
},
}SCSS
$custom: #b7ae4e; $custom-light: #cfc583; $custom-dark: #000000;
JSON
{
"hex": "#b7ae4e",
"rgb": {
"r": 183,
"g": 174,
"b": 78
},
"hsl": {
"h": 54.857,
"s": 42.169,
"l": 51.176
},
"oklch": {
"l": 0.73906,
"c": 0.11817,
"h": 104
},
"luminance": 0.40889
}Semantic roles & 50–950 ramp
primary
#B7AE4E
secondary
#999DC8
accent
#60D256
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14120B
muted
#83817C