#B4AB36#B4AB36
#B4AB36 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.8% C 0.135 H 104.9°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #B4AB36 |
|---|---|
| RGB | rgb(180, 171, 54) |
| HSL | hsl(56, 54%, 46%) |
| HSV | hsv(56, 70%, 71%) |
| CMYK | cmyk(0%, 5%, 70%, 29.4%) |
| CIE-LAB | lab(68.82, -10.49, 58.35) |
| CIE-LCH | lch(68.82, 59.28, 100.19°) |
| OKLab | oklab(72.76% -0.0346 0.13) |
| OKLCH | oklch(72.76% 0.135 104.9) |
| XYZ | xyz(34.0525, 39.0967, 9.2420) |
| Luminance | 0.3910 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 4.06
Vomit
#A2A415
ΔE00 4.23
Muddy Yellow
#BFAC05
ΔE00 4.38
Olive Yellow
#C2B709
ΔE00 5.11
Brownish Yellow
#C9B003
ΔE00 6.06
Mustard Green
#A8B504
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4AB36 #363FB4
analogous
#B46C36 #B4AB36 #7EB436
triadic
#B4AB36 #36B4AB #AB36B4
tetradic
#B4AB36 #36B46C #363FB4 #B4367E
square
#B4AB36 #36B46C #363FB4 #B4367E
split-complementary
#B4AB36 #367EB4 #6C36B4
monochromatic
#56521A #857E28 #B4AB36 #CDC55A #DCD689
Accessibility & contrast
On white
2.38
#B4AB36 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.82
#B4AB36 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4AB36
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4AB36 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4AB36 | 1.00 | 2.38 | 8.82 | 8.82 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA524
Deuteranopia (green-blind)
#BDAA3E
Tritanopia (blue-blind)
#C19F94
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b4ab36; /* rgb */ color: rgb(180, 171, 54); /* oklch */ color: oklch(72.8% 0.135 104.9);
Tailwind
colors: {
custom: {
50: '#cec374',
500: '#b4ab36',
950: '#000000',
},
}SCSS
$custom: #b4ab36; $custom-light: #cec374; $custom-dark: #000000;
JSON
{
"hex": "#b4ab36",
"rgb": {
"r": 180,
"g": 171,
"b": 54
},
"hsl": {
"h": 55.714,
"s": 53.846,
"l": 45.882
},
"oklch": {
"l": 0.72762,
"c": 0.13454,
"h": 104.9
},
"luminance": 0.39095
}Semantic roles & 50–950 ramp
primary
#B4AB36
secondary
#8085C6
accent
#55DD4B
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B