#B7AE52#B7AE52
#B7AE52 is a light, moderate yellow. Relative luminance 0.409; OKLCH L 74.0% C 0.114 H 103.7°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #B7AE52 |
|---|---|
| RGB | rgb(183, 174, 82) |
| HSL | hsl(55, 41%, 52%) |
| HSV | hsv(55, 55%, 72%) |
| CMYK | cmyk(0%, 4.9%, 55.2%, 28.2%) |
| CIE-LAB | lab(70.14, -8.90, 47.62) |
| CIE-LCH | lch(70.14, 48.45, 100.59°) |
| OKLab | oklab(73.95% -0.0271 0.1112) |
| OKLCH | oklch(73.95% 0.114 103.7) |
| XYZ | xyz(36.1886, 40.9498, 13.9788) |
| Luminance | 0.4095 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.82
Khaki (survey)
#AAA662
ΔE00 4.95
Vomit
#A2A415
ΔE00 6.71
Puke
#A5A502
ΔE00 6.94
Muddy Yellow
#BFAC05
ΔE00 7.00
Olive Yellow
#C2B709
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7AE52 #525BB7
analogous
#B77B52 #B7AE52 #8EB752
triadic
#B7AE52 #52B7AE #AE52B7
tetradic
#B7AE52 #52B77B #525BB7 #B7528E
square
#B7AE52 #52B77B #525BB7 #B7528E
split-complementary
#B7AE52 #528EB7 #7B52B7
monochromatic
#655F2A #90883C #B7AE52 #C9C27D #DBD6A8
Accessibility & contrast
On white
2.29
#B7AE52 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.19
#B7AE52 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7AE52
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7AE52 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7AE52 | 1.00 | 2.29 | 9.19 | 9.19 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA949
Deuteranopia (green-blind)
#BFAE57
Tritanopia (blue-blind)
#C3A499
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b7ae52; /* rgb */ color: rgb(183, 174, 82); /* oklch */ color: oklch(74.0% 0.114 103.7);
Tailwind
colors: {
custom: {
50: '#cfc585',
500: '#b7ae52',
950: '#000000',
},
}SCSS
$custom: #b7ae52; $custom-light: #cfc585; $custom-dark: #000000;
JSON
{
"hex": "#b7ae52",
"rgb": {
"r": 183,
"g": 174,
"b": 82
},
"hsl": {
"h": 54.653,
"s": 41.224,
"l": 51.961
},
"oklch": {
"l": 0.73952,
"c": 0.11445,
"h": 103.7
},
"luminance": 0.40949
}Semantic roles & 50–950 ramp
primary
#B7AE52
secondary
#9CA0C9
accent
#62D157
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14120B
muted
#83817C