#B4AB2E#B4AB2E
#B4AB2E is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.7% C 0.140 H 105.2°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #B4AB2E |
|---|---|
| RGB | rgb(180, 171, 46) |
| HSL | hsl(56, 59%, 44%) |
| HSV | hsv(56, 74%, 71%) |
| CMYK | cmyk(0%, 5%, 74.4%, 29.4%) |
| CIE-LAB | lab(68.77, -10.88, 61.24) |
| CIE-LCH | lch(68.77, 62.20, 100.07°) |
| OKLab | oklab(72.71% -0.0365 0.1347) |
| OKLCH | oklch(72.71% 0.14 105.2) |
| XYZ | xyz(33.8799, 39.0277, 8.3327) |
| Luminance | 0.3903 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.62
Muddy Yellow
#BFAC05
ΔE00 3.82
Vomit
#A2A415
ΔE00 3.98
Olive Yellow
#C2B709
ΔE00 4.57
Brownish Yellow
#C9B003
ΔE00 5.63
Mustard Green
#A8B504
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4AB2E #2E37B4
analogous
#B4682E #B4AB2E #7AB42E
triadic
#B4AB2E #2EB4AB #AB2EB4
tetradic
#B4AB2E #2EB468 #2E37B4 #B42E7A
square
#B4AB2E #2EB468 #2E37B4 #B42E7A
split-complementary
#B4AB2E #2E7AB4 #682EB4
monochromatic
#534E15 #837D22 #B4AB2E #D2C94E #DED87E
Accessibility & contrast
On white
2.38
#B4AB2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.81
#B4AB2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4AB2E
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4AB2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4AB2E | 1.00 | 2.38 | 8.81 | 8.81 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA515
Deuteranopia (green-blind)
#BEAA37
Tritanopia (blue-blind)
#C29F93
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b4ab2e; /* rgb */ color: rgb(180, 171, 46); /* oklch */ color: oklch(72.7% 0.140 105.2);
Tailwind
colors: {
custom: {
50: '#cec370',
500: '#b4ab2e',
950: '#000000',
},
}SCSS
$custom: #b4ab2e; $custom-light: #cec370; $custom-dark: #000000;
JSON
{
"hex": "#b4ab2e",
"rgb": {
"r": 180,
"g": 171,
"b": 46
},
"hsl": {
"h": 55.97,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.72706,
"c": 0.13954,
"h": 105.2
},
"luminance": 0.39026
}Semantic roles & 50–950 ramp
primary
#B4AB2E
secondary
#777CC7
accent
#50E245
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B