#B4AC2D#B4AC2D
#B4AC2D is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.9% C 0.141 H 105.7°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #B4AC2D |
|---|---|
| RGB | rgb(180, 172, 45) |
| HSL | hsl(56, 60%, 44%) |
| HSV | hsv(56, 75%, 71%) |
| CMYK | cmyk(0%, 4.4%, 75%, 29.4%) |
| CIE-LAB | lab(69.04, -11.44, 61.84) |
| CIE-LCH | lch(69.04, 62.89, 100.48°) |
| OKLab | oklab(72.92% -0.0382 0.1358) |
| OKLCH | oklch(72.92% 0.141 105.7) |
| XYZ | xyz(34.0500, 39.3991, 8.2933) |
| Luminance | 0.3940 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.56
Muddy Yellow
#BFAC05
ΔE00 3.88
Vomit
#A2A415
ΔE00 3.94
Olive Yellow
#C2B709
ΔE00 4.35
Mustard Green
#A8B504
ΔE00 5.49
Puke Yellow
#C2BE0E
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4AC2D #2D35B4
analogous
#B4682D #B4AC2D #79B42D
triadic
#B4AC2D #2DB4AC #AC2DB4
tetradic
#B4AC2D #2DB468 #2D35B4 #B42D79
square
#B4AC2D #2DB468 #2D35B4 #B42D79
split-complementary
#B4AC2D #2D79B4 #682DB4
monochromatic
#524E15 #837D21 #B4AC2D #D2CA4C #DED97D
Accessibility & contrast
On white
2.36
#B4AC2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.88
#B4AC2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4AC2D
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4AC2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4AC2D | 1.00 | 2.36 | 8.88 | 8.88 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA612
Deuteranopia (green-blind)
#BEAB37
Tritanopia (blue-blind)
#C2A094
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b4ac2d; /* rgb */ color: rgb(180, 172, 45); /* oklch */ color: oklch(72.9% 0.141 105.7);
Tailwind
colors: {
custom: {
50: '#cec470',
500: '#b4ac2d',
950: '#000000',
},
}SCSS
$custom: #b4ac2d; $custom-light: #cec470; $custom-dark: #000000;
JSON
{
"hex": "#b4ac2d",
"rgb": {
"r": 180,
"g": 172,
"b": 45
},
"hsl": {
"h": 56.444,
"s": 60,
"l": 44.118
},
"oklch": {
"l": 0.72918,
"c": 0.14102,
"h": 105.7
},
"luminance": 0.39398
}Semantic roles & 50–950 ramp
primary
#B4AC2D
secondary
#767BC7
accent
#4EE345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B