#B3AC2A#B3AC2A
#B3AC2A is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.8% C 0.143 H 106.3°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #B3AC2A |
|---|---|
| RGB | rgb(179, 172, 42) |
| HSL | hsl(57, 62%, 43%) |
| HSV | hsv(57, 77%, 70%) |
| CMYK | cmyk(0%, 3.9%, 76.5%, 29.8%) |
| CIE-LAB | lab(68.94, -12.00, 62.71) |
| CIE-LCH | lch(68.94, 63.85, 100.83°) |
| OKLab | oklab(72.81% -0.04 0.1371) |
| OKLCH | oklch(72.81% 0.143 106.3) |
| XYZ | xyz(33.7623, 39.2572, 7.9890) |
| Luminance | 0.3926 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.28
Vomit
#A2A415
ΔE00 3.69
Muddy Yellow
#BFAC05
ΔE00 3.97
Olive Yellow
#C2B709
ΔE00 4.31
Mustard Green
#A8B504
ΔE00 5.20
Puke Yellow
#C2BE0E
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3AC2A #2A31B3
analogous
#B3672A #B3AC2A #75B32A
triadic
#B3AC2A #2AB3AC #AC2AB3
tetradic
#B3AC2A #2AB367 #2A31B3 #B32A75
square
#B3AC2A #2AB367 #2A31B3 #B32A75
split-complementary
#B3AC2A #2A75B3 #672AB3
monochromatic
#504D13 #817C1E #B3AC2A #D4CC46 #DFDA78
Accessibility & contrast
On white
2.37
#B3AC2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.85
#B3AC2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3AC2A
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3AC2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3AC2A | 1.00 | 2.37 | 8.85 | 8.85 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA509
Deuteranopia (green-blind)
#BEAB34
Tritanopia (blue-blind)
#C0A094
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b3ac2a; /* rgb */ color: rgb(179, 172, 42); /* oklch */ color: oklch(72.8% 0.143 106.3);
Tailwind
colors: {
custom: {
50: '#cec46e',
500: '#b3ac2a',
950: '#000000',
},
}SCSS
$custom: #b3ac2a; $custom-light: #cec46e; $custom-dark: #000000;
JSON
{
"hex": "#b3ac2a",
"rgb": {
"r": 179,
"g": 172,
"b": 42
},
"hsl": {
"h": 56.934,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.72811,
"c": 0.1428,
"h": 106.3
},
"luminance": 0.39256
}Semantic roles & 50–950 ramp
primary
#B3AC2A
secondary
#7276C7
accent
#4BE543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B