#B4AA40#B4AA40
#B4AA40 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.6% C 0.126 H 103.9°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).
Color values
| HEX | #B4AA40 |
|---|---|
| RGB | rgb(180, 170, 64) |
| HSL | hsl(55, 48%, 48%) |
| HSV | hsv(55, 64%, 71%) |
| CMYK | cmyk(0%, 5.6%, 64.4%, 29.4%) |
| CIE-LAB | lab(68.62, -9.39, 54.05) |
| CIE-LCH | lch(68.62, 54.86, 99.86°) |
| OKLab | oklab(72.63% -0.0304 0.1226) |
| OKLCH | oklch(72.63% 0.126 103.9) |
| XYZ | xyz(34.1238, 38.8242, 10.5458) |
| Luminance | 0.3882 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.90
Puke
#A5A502
ΔE00 4.95
Muddy Yellow
#BFAC05
ΔE00 5.23
Darkkhaki
#BDB76B
ΔE00 6.09
Olive Yellow
#C2B709
ΔE00 6.15
Khaki (survey)
#AAA662
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4AA40 #404AB4
analogous
#B47040 #B4AA40 #84B440
triadic
#B4AA40 #40B4AA #AA40B4
tetradic
#B4AA40 #40B470 #404AB4 #B44084
square
#B4AA40 #40B470 #404AB4 #B44084
split-complementary
#B4AA40 #4084B4 #7040B4
monochromatic
#5A5520 #877F30 #B4AA40 #C9C168 #D9D395
Accessibility & contrast
On white
2.40
#B4AA40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.76
#B4AA40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4AA40
8.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4AA40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4AA40 | 1.00 | 2.40 | 8.76 | 8.76 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A433
Deuteranopia (green-blind)
#BCAA46
Tritanopia (blue-blind)
#C19F94
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b4aa40; /* rgb */ color: rgb(180, 170, 64); /* oklch */ color: oklch(72.6% 0.126 103.9);
Tailwind
colors: {
custom: {
50: '#cdc37a',
500: '#b4aa40',
950: '#000000',
},
}SCSS
$custom: #b4aa40; $custom-light: #cdc37a; $custom-dark: #000000;
JSON
{
"hex": "#b4aa40",
"rgb": {
"r": 180,
"g": 170,
"b": 64
},
"hsl": {
"h": 54.828,
"s": 47.541,
"l": 47.843
},
"oklch": {
"l": 0.72629,
"c": 0.12631,
"h": 103.9
},
"luminance": 0.38823
}Semantic roles & 50–950 ramp
primary
#B4AA40
secondary
#8B90C5
accent
#5CD751
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B