#B4AB2D#B4AB2D
#B4AB2D 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.80:1 contrast (WCAG AA passes).
Color values
| HEX | #B4AB2D |
|---|---|
| RGB | rgb(180, 171, 45) |
| HSL | hsl(56, 60%, 44%) |
| HSV | hsv(56, 75%, 71%) |
| CMYK | cmyk(0%, 5%, 75%, 29.4%) |
| CIE-LAB | lab(68.77, -10.92, 61.59) |
| CIE-LCH | lch(68.77, 62.55, 100.05°) |
| OKLab | oklab(72.7% -0.0367 0.1352) |
| OKLCH | oklch(72.7% 0.14 105.2) |
| XYZ | xyz(33.8604, 39.0199, 8.2301) |
| Luminance | 0.3902 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.58
Muddy Yellow
#BFAC05
ΔE00 3.76
Vomit
#A2A415
ΔE00 3.96
Olive Yellow
#C2B709
ΔE00 4.51
Brownish Yellow
#C9B003
ΔE00 5.58
Mustard Green
#A8B504
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4AB2D #2D36B4
analogous
#B4682D #B4AB2D #7AB42D
triadic
#B4AB2D #2DB4AB #AB2DB4
tetradic
#B4AB2D #2DB468 #2D36B4 #B42D7A
square
#B4AB2D #2DB468 #2D36B4 #B42D7A
split-complementary
#B4AB2D #2D7AB4 #682DB4
monochromatic
#524E15 #837C21 #B4AB2D #D2C94C #DED87D
Accessibility & contrast
On white
2.39
#B4AB2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.80
#B4AB2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4AB2D
8.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4AB2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4AB2D | 1.00 | 2.39 | 8.80 | 8.80 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA512
Deuteranopia (green-blind)
#BEAA36
Tritanopia (blue-blind)
#C29F93
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b4ab2d; /* rgb */ color: rgb(180, 171, 45); /* oklch */ color: oklch(72.7% 0.140 105.2);
Tailwind
colors: {
custom: {
50: '#cec370',
500: '#b4ab2d',
950: '#000000',
},
}SCSS
$custom: #b4ab2d; $custom-light: #cec370; $custom-dark: #000000;
JSON
{
"hex": "#b4ab2d",
"rgb": {
"r": 180,
"g": 171,
"b": 45
},
"hsl": {
"h": 56,
"s": 60,
"l": 44.118
},
"oklch": {
"l": 0.727,
"c": 0.1401,
"h": 105.2
},
"luminance": 0.39019
}Semantic roles & 50–950 ramp
primary
#B4AB2D
secondary
#767BC7
accent
#4FE345
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B