#B4AA3A#B4AA3A
#B4AA3A is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.6% C 0.131 H 104.2°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).
Color values
| HEX | #B4AA3A |
|---|---|
| RGB | rgb(180, 170, 58) |
| HSL | hsl(55, 51%, 47%) |
| HSV | hsv(55, 68%, 71%) |
| CMYK | cmyk(0%, 5.6%, 67.8%, 29.4%) |
| CIE-LAB | lab(68.58, -9.75, 56.52) |
| CIE-LCH | lch(68.58, 57.35, 99.79°) |
| OKLab | oklab(72.58% -0.0321 0.1268) |
| OKLCH | oklch(72.58% 0.131 104.2) |
| XYZ | xyz(33.9622, 38.7595, 9.6945) |
| Luminance | 0.3876 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 4.43
Vomit
#A2A415
ΔE00 4.50
Muddy Yellow
#BFAC05
ΔE00 4.65
Olive Yellow
#C2B709
ΔE00 5.60
Brownish Yellow
#C9B003
ΔE00 6.27
Darkkhaki
#BDB76B
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4AA3A #3A44B4
analogous
#B46D3A #B4AA3A #81B43A
triadic
#B4AA3A #3AB4AA #AA3AB4
tetradic
#B4AA3A #3AB46D #3A44B4 #B43A81
square
#B4AA3A #3AB46D #3A44B4 #B43A81
split-complementary
#B4AA3A #3A81B4 #6D3AB4
monochromatic
#57531C #867E2B #B4AA3A #CCC360 #DBD48E
Accessibility & contrast
On white
2.40
#B4AA3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.75
#B4AA3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4AA3A
8.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4AA3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4AA3A | 1.00 | 2.40 | 8.75 | 8.75 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A42A
Deuteranopia (green-blind)
#BCAA41
Tritanopia (blue-blind)
#C19F93
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b4aa3a; /* rgb */ color: rgb(180, 170, 58); /* oklch */ color: oklch(72.6% 0.131 104.2);
Tailwind
colors: {
custom: {
50: '#cec376',
500: '#b4aa3a',
950: '#000000',
},
}SCSS
$custom: #b4aa3a; $custom-light: #cec376; $custom-dark: #000000;
JSON
{
"hex": "#b4aa3a",
"rgb": {
"r": 180,
"g": 170,
"b": 58
},
"hsl": {
"h": 55.082,
"s": 51.261,
"l": 46.667
},
"oklch": {
"l": 0.72576,
"c": 0.13082,
"h": 104.2
},
"luminance": 0.38758
}Semantic roles & 50–950 ramp
primary
#B4AA3A
secondary
#858AC5
accent
#59DB4D
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B