#B8AE47#B8AE47
#B8AE47 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.9% C 0.124 H 103.8°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #B8AE47 |
|---|---|
| RGB | rgb(184, 174, 71) |
| HSL | hsl(55, 44%, 50%) |
| HSV | hsv(55, 61%, 72%) |
| CMYK | cmyk(0%, 5.4%, 61.4%, 27.8%) |
| CIE-LAB | lab(70.12, -9.30, 52.70) |
| CIE-LCH | lch(70.12, 53.51, 100.01°) |
| OKLab | oklab(73.92% -0.0296 0.1207) |
| OKLCH | oklch(73.92% 0.124 103.8) |
| XYZ | xyz(36.0418, 40.9187, 11.9596) |
| Luminance | 0.4092 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 5.12
Muddy Yellow
#BFAC05
ΔE00 5.52
Vomit
#A2A415
ΔE00 5.81
Puke
#A5A502
ΔE00 5.84
Olive Yellow
#C2B709
ΔE00 5.94
Khaki (survey)
#AAA662
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8AE47 #4751B8
analogous
#B87547 #B8AE47 #8AB847
triadic
#B8AE47 #47B8AE #AE47B8
tetradic
#B8AE47 #47B875 #4751B8 #B8478A
square
#B8AE47 #47B875 #4751B8 #B8478A
split-complementary
#B8AE47 #478AB8 #7547B8
monochromatic
#605A25 #8C8436 #B8AE47 #C9C173 #DAD59F
Accessibility & contrast
On white
2.29
#B8AE47 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.18
#B8AE47 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8AE47
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8AE47 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8AE47 | 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)
#BCA83B
Deuteranopia (green-blind)
#C0AE4D
Tritanopia (blue-blind)
#C5A398
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b8ae47; /* rgb */ color: rgb(184, 174, 71); /* oklch */ color: oklch(73.9% 0.124 103.8);
Tailwind
colors: {
custom: {
50: '#d0c57f',
500: '#b8ae47',
950: '#000000',
},
}SCSS
$custom: #b8ae47; $custom-light: #d0c57f; $custom-dark: #000000;
JSON
{
"hex": "#b8ae47",
"rgb": {
"r": 184,
"g": 174,
"b": 71
},
"hsl": {
"h": 54.69,
"s": 44.314,
"l": 50
},
"oklch": {
"l": 0.7392,
"c": 0.12422,
"h": 103.8
},
"luminance": 0.40917
}Semantic roles & 50–950 ramp
primary
#B8AE47
secondary
#9499C7
accent
#5FD454
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14120A
muted
#83817C