#B4AA2E#B4AA2E
#B4AA2E is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.5% C 0.139 H 104.6°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #B4AA2E |
|---|---|
| RGB | rgb(180, 170, 46) |
| HSL | hsl(56, 59%, 44%) |
| HSV | hsv(56, 74%, 71%) |
| CMYK | cmyk(0%, 5.6%, 74.4%, 29.4%) |
| CIE-LAB | lab(68.50, -10.36, 60.99) |
| CIE-LCH | lch(68.50, 61.86, 99.64°) |
| OKLab | oklab(72.49% -0.035 0.1341) |
| OKLCH | oklch(72.49% 0.139 104.6) |
| XYZ | xyz(33.6917, 38.6513, 8.2700) |
| Luminance | 0.3865 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.69
Muddy Yellow
#BFAC05
ΔE00 3.72
Vomit
#A2A415
ΔE00 4.05
Olive Yellow
#C2B709
ΔE00 4.76
Brownish Yellow
#C9B003
ΔE00 5.55
Mustard Green
#A8B504
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4AA2E #2E38B4
analogous
#B4672E #B4AA2E #7BB42E
triadic
#B4AA2E #2EB4AA #AA2EB4
tetradic
#B4AA2E #2EB467 #2E38B4 #B42E7B
square
#B4AA2E #2EB467 #2E38B4 #B42E7B
split-complementary
#B4AA2E #2E7BB4 #672EB4
monochromatic
#534E15 #837C22 #B4AA2E #D2C84E #DED77E
Accessibility & contrast
On white
2.41
#B4AA2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.73
#B4AA2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4AA2E
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4AA2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4AA2E | 1.00 | 2.41 | 8.73 | 8.73 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A415
Deuteranopia (green-blind)
#BDAA37
Tritanopia (blue-blind)
#C29E92
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b4aa2e; /* rgb */ color: rgb(180, 170, 46); /* oklch */ color: oklch(72.5% 0.139 104.6);
Tailwind
colors: {
custom: {
50: '#cec370',
500: '#b4aa2e',
950: '#000000',
},
}SCSS
$custom: #b4aa2e; $custom-light: #cec370; $custom-dark: #000000;
JSON
{
"hex": "#b4aa2e",
"rgb": {
"r": 180,
"g": 170,
"b": 46
},
"hsl": {
"h": 55.522,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.72489,
"c": 0.13863,
"h": 104.6
},
"luminance": 0.3865
}Semantic roles & 50–950 ramp
primary
#B4AA2E
secondary
#777DC7
accent
#51E245
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B