#B8AE36#B8AE36
#B8AE36 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.8% C 0.137 H 104.5°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #B8AE36 |
|---|---|
| RGB | rgb(184, 174, 54) |
| HSL | hsl(55, 55%, 47%) |
| HSV | hsv(55, 71%, 72%) |
| CMYK | cmyk(0%, 5.4%, 70.7%, 27.8%) |
| CIE-LAB | lab(69.99, -10.31, 59.62) |
| CIE-LCH | lch(69.99, 60.50, 99.81°) |
| OKLab | oklab(73.77% -0.0343 0.1326) |
| OKLCH | oklch(73.77% 0.137 104.5) |
| XYZ | xyz(35.5705, 40.7302, 9.4773) |
| Luminance | 0.4073 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.89
Olive Yellow
#C2B709
ΔE00 4.27
Puke
#A5A502
ΔE00 4.61
Vomit
#A2A415
ΔE00 4.92
Brownish Yellow
#C9B003
ΔE00 5.40
Puke Yellow
#C2BE0E
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8AE36 #3640B8
analogous
#B86D36 #B8AE36 #81B836
triadic
#B8AE36 #36B8AE #AE36B8
tetradic
#B8AE36 #36B86D #3640B8 #B83681
square
#B8AE36 #36B86D #3640B8 #B83681
split-complementary
#B8AE36 #3681B8 #6D36B8
monochromatic
#59551A #898128 #B8AE36 #CFC65C #DDD78B
Accessibility & contrast
On white
2.30
#B8AE36 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.15
#B8AE36 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8AE36
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8AE36 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8AE36 | 1.00 | 2.30 | 9.15 | 9.15 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA823
Deuteranopia (green-blind)
#C1AE3E
Tritanopia (blue-blind)
#C6A296
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b8ae36; /* rgb */ color: rgb(184, 174, 54); /* oklch */ color: oklch(73.8% 0.137 104.5);
Tailwind
colors: {
custom: {
50: '#d1c575',
500: '#b8ae36',
950: '#000000',
},
}SCSS
$custom: #b8ae36; $custom-light: #d1c575; $custom-dark: #000000;
JSON
{
"hex": "#b8ae36",
"rgb": {
"r": 184,
"g": 174,
"b": 54
},
"hsl": {
"h": 55.385,
"s": 54.622,
"l": 46.667
},
"oklch": {
"l": 0.73773,
"c": 0.13693,
"h": 104.5
},
"luminance": 0.40729
}Semantic roles & 50–950 ramp
primary
#B8AE36
secondary
#8288C7
accent
#55DE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B