#B8AA2E#B8AA2E
#B8AA2E is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.9% C 0.138 H 102.7°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).
Color values
| HEX | #B8AA2E |
|---|---|
| RGB | rgb(184, 170, 46) |
| HSL | hsl(54, 60%, 45%) |
| HSV | hsv(54, 75%, 72%) |
| CMYK | cmyk(0%, 7.6%, 75%, 27.8%) |
| CIE-LAB | lab(68.85, -8.60, 61.45) |
| CIE-LCH | lch(68.85, 62.05, 97.97°) |
| OKLab | oklab(72.85% -0.0303 0.1349) |
| OKLCH | oklch(72.85% 0.138 102.7) |
| XYZ | xyz(34.6366, 39.1386, 8.3143) |
| Luminance | 0.3914 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 2.95
Puke
#A5A502
ΔE00 4.57
Olive Yellow
#C2B709
ΔE00 4.58
Brownish Yellow
#C9B003
ΔE00 4.65
Vomit
#A2A415
ΔE00 5.03
Mustard (survey)
#CEB301
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8AA2E #2E3CB8
analogous
#B8652E #B8AA2E #81B82E
triadic
#B8AA2E #2EB8AA #AA2EB8
tetradic
#B8AA2E #2EB865 #2E3CB8 #B82E81
square
#B8AA2E #2EB865 #2E3CB8 #B82E81
split-complementary
#B8AA2E #2E81B8 #652EB8
monochromatic
#565016 #877D22 #B8AA2E #D3C650 #DFD681
Accessibility & contrast
On white
2.38
#B8AA2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.83
#B8AA2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8AA2E
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8AA2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8AA2E | 1.00 | 2.38 | 8.83 | 8.83 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA415
Deuteranopia (green-blind)
#BEAB37
Tritanopia (blue-blind)
#C69E92
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b8aa2e; /* rgb */ color: rgb(184, 170, 46); /* oklch */ color: oklch(72.9% 0.138 102.7);
Tailwind
colors: {
custom: {
50: '#d1c270',
500: '#b8aa2e',
950: '#000000',
},
}SCSS
$custom: #b8aa2e; $custom-light: #d1c270; $custom-dark: #000000;
JSON
{
"hex": "#b8aa2e",
"rgb": {
"r": 184,
"g": 170,
"b": 46
},
"hsl": {
"h": 53.913,
"s": 60,
"l": 45.098
},
"oklch": {
"l": 0.72854,
"c": 0.13831,
"h": 102.7
},
"luminance": 0.39137
}Semantic roles & 50–950 ramp
primary
#B8AA2E
secondary
#7981C8
accent
#55E345
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B