#B8AE2D#B8AE2D
#B8AE2D is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.7% C 0.142 H 104.8°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #B8AE2D |
|---|---|
| RGB | rgb(184, 174, 45) |
| HSL | hsl(56, 61%, 45%) |
| HSV | hsv(56, 76%, 72%) |
| CMYK | cmyk(0%, 5.4%, 75.5%, 27.8%) |
| CIE-LAB | lab(69.93, -10.73, 62.80) |
| CIE-LCH | lch(69.93, 63.71, 99.70°) |
| OKLab | oklab(73.71% -0.0364 0.1376) |
| OKLCH | oklch(73.71% 0.142 104.8) |
| XYZ | xyz(35.3784, 40.6533, 8.4654) |
| Luminance | 0.4065 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.28
Olive Yellow
#C2B709
ΔE00 3.63
Puke
#A5A502
ΔE00 4.26
Vomit
#A2A415
ΔE00 4.75
Brownish Yellow
#C9B003
ΔE00 4.92
Puke Yellow
#C2BE0E
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8AE2D #2D37B8
analogous
#B8682D #B8AE2D #7DB82D
triadic
#B8AE2D #2DB8AE #AE2DB8
tetradic
#B8AE2D #2DB868 #2D37B8 #B82D7D
square
#B8AE2D #2DB868 #2D37B8 #B82D7D
split-complementary
#B8AE2D #2D7DB8 #682DB8
monochromatic
#565115 #877F21 #B8AE2D #D4CA4E #E0D980
Accessibility & contrast
On white
2.30
#B8AE2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.13
#B8AE2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8AE2D
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8AE2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8AE2D | 1.00 | 2.30 | 9.13 | 9.13 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA810
Deuteranopia (green-blind)
#C1AD37
Tritanopia (blue-blind)
#C6A296
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b8ae2d; /* rgb */ color: rgb(184, 174, 45); /* oklch */ color: oklch(73.7% 0.142 104.8);
Tailwind
colors: {
custom: {
50: '#d1c570',
500: '#b8ae2d',
950: '#000000',
},
}SCSS
$custom: #b8ae2d; $custom-light: #d1c570; $custom-dark: #000000;
JSON
{
"hex": "#b8ae2d",
"rgb": {
"r": 184,
"g": 174,
"b": 45
},
"hsl": {
"h": 55.683,
"s": 60.699,
"l": 44.902
},
"oklch": {
"l": 0.73712,
"c": 0.14236,
"h": 104.8
},
"luminance": 0.40652
}Semantic roles & 50–950 ramp
primary
#B8AE2D
secondary
#787EC9
accent
#4FE444
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151208
muted
#83817B