#B4AA47#B4AA47
#B4AA47 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.7% C 0.121 H 103.6°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #B4AA47 |
|---|---|
| RGB | rgb(180, 170, 71) |
| HSL | hsl(54, 43%, 49%) |
| HSV | hsv(54, 61%, 71%) |
| CMYK | cmyk(0%, 5.6%, 60.6%, 29.4%) |
| CIE-LAB | lab(68.69, -8.92, 51.03) |
| CIE-LCH | lch(68.69, 51.80, 99.92°) |
| OKLab | oklab(72.7% -0.0283 0.1172) |
| OKLCH | oklch(72.7% 0.121 103.6) |
| XYZ | xyz(34.3357, 38.9089, 11.6615) |
| Luminance | 0.3891 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 5.39
Vomit
#A2A415
ΔE00 5.50
Khaki (survey)
#AAA662
ΔE00 5.55
Puke
#A5A502
ΔE00 5.67
Muddy Yellow
#BFAC05
ΔE00 6.00
Olive Yellow
#C2B709
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4AA47 #4751B4
analogous
#B47447 #B4AA47 #88B447
triadic
#B4AA47 #47B4AA #AA47B4
tetradic
#B4AA47 #47B474 #4751B4 #B44788
square
#B4AA47 #47B474 #4751B4 #B44788
split-complementary
#B4AA47 #4788B4 #7447B4
monochromatic
#5C5724 #888136 #B4AA47 #C7BF71 #D8D39D
Accessibility & contrast
On white
2.39
#B4AA47 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.78
#B4AA47 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4AA47
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4AA47 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4AA47 | 1.00 | 2.39 | 8.78 | 8.78 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A53C
Deuteranopia (green-blind)
#BBAA4C
Tritanopia (blue-blind)
#C19F95
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b4aa47; /* rgb */ color: rgb(180, 170, 71); /* oklch */ color: oklch(72.7% 0.121 103.6);
Tailwind
colors: {
custom: {
50: '#cdc37e',
500: '#b4aa47',
950: '#000000',
},
}SCSS
$custom: #b4aa47; $custom-light: #cdc37e; $custom-dark: #000000;
JSON
{
"hex": "#b4aa47",
"rgb": {
"r": 180,
"g": 170,
"b": 71
},
"hsl": {
"h": 54.495,
"s": 43.426,
"l": 49.216
},
"oklch": {
"l": 0.72697,
"c": 0.12056,
"h": 103.6
},
"luminance": 0.38908
}Semantic roles & 50–950 ramp
primary
#B4AA47
secondary
#9297C5
accent
#60D355
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#14120A
muted
#82817C