#B4AA3E#B4AA3E
#B4AA3E is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.6% C 0.128 H 104.0°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).
Color values
| HEX | #B4AA3E |
|---|---|
| RGB | rgb(180, 170, 62) |
| HSL | hsl(55, 49%, 47%) |
| HSV | hsv(55, 66%, 71%) |
| CMYK | cmyk(0%, 5.6%, 65.6%, 29.4%) |
| CIE-LAB | lab(68.61, -9.52, 54.89) |
| CIE-LCH | lch(68.61, 55.71, 99.83°) |
| OKLab | oklab(72.61% -0.031 0.1241) |
| OKLCH | oklch(72.61% 0.128 104) |
| XYZ | xyz(34.0679, 38.8018, 10.2515) |
| Luminance | 0.3880 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.75
Puke
#A5A502
ΔE00 4.76
Muddy Yellow
#BFAC05
ΔE00 5.03
Olive Yellow
#C2B709
ΔE00 5.96
Darkkhaki
#BDB76B
ΔE00 6.28
Brownish Yellow
#C9B003
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4AA3E #3E48B4
analogous
#B46F3E #B4AA3E #83B43E
triadic
#B4AA3E #3EB4AA #AA3EB4
tetradic
#B4AA3E #3EB46F #3E48B4 #B43E83
square
#B4AA3E #3EB46F #3E48B4 #B43E83
split-complementary
#B4AA3E #3E83B4 #6F3EB4
monochromatic
#59541F #867F2E #B4AA3E #CAC165 #DAD493
Accessibility & contrast
On white
2.40
#B4AA3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.76
#B4AA3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4AA3E
8.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4AA3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4AA3E | 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)
#B9A430
Deuteranopia (green-blind)
#BCAA44
Tritanopia (blue-blind)
#C19F94
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b4aa3e; /* rgb */ color: rgb(180, 170, 62); /* oklch */ color: oklch(72.6% 0.128 104.0);
Tailwind
colors: {
custom: {
50: '#cdc379',
500: '#b4aa3e',
950: '#000000',
},
}SCSS
$custom: #b4aa3e; $custom-light: #cdc379; $custom-dark: #000000;
JSON
{
"hex": "#b4aa3e",
"rgb": {
"r": 180,
"g": 170,
"b": 62
},
"hsl": {
"h": 54.915,
"s": 48.76,
"l": 47.451
},
"oklch": {
"l": 0.72611,
"c": 0.12786,
"h": 104
},
"luminance": 0.38801
}Semantic roles & 50–950 ramp
primary
#B4AA3E
secondary
#898EC5
accent
#5BD84F
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B