#B3AC2D#B3AC2D
#B3AC2D is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.8% C 0.141 H 106.2°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #B3AC2D |
|---|---|
| RGB | rgb(179, 172, 45) |
| HSL | hsl(57, 60%, 44%) |
| HSV | hsv(57, 75%, 70%) |
| CMYK | cmyk(0%, 3.9%, 74.9%, 29.8%) |
| CIE-LAB | lab(68.95, -11.88, 61.73) |
| CIE-LCH | lch(68.95, 62.86, 100.89°) |
| OKLab | oklab(72.83% -0.0393 0.1356) |
| OKLCH | oklch(72.83% 0.141 106.2) |
| XYZ | xyz(33.8180, 39.2795, 8.2824) |
| Luminance | 0.3928 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.39
Vomit
#A2A415
ΔE00 3.73
Muddy Yellow
#BFAC05
ΔE00 4.12
Olive Yellow
#C2B709
ΔE00 4.47
Mustard Green
#A8B504
ΔE00 5.28
Puke Yellow
#C2BE0E
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3AC2D #2D34B3
analogous
#B3692D #B3AC2D #77B32D
triadic
#B3AC2D #2DB3AC #AC2DB3
tetradic
#B3AC2D #2DB369 #2D34B3 #B32D77
square
#B3AC2D #2DB369 #2D34B3 #B32D77
split-complementary
#B3AC2D #2D77B3 #692DB3
monochromatic
#514E14 #827D21 #B3AC2D #D2CB4B #DED97C
Accessibility & contrast
On white
2.37
#B3AC2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.86
#B3AC2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3AC2D
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3AC2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3AC2D | 1.00 | 2.37 | 8.86 | 8.86 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA512
Deuteranopia (green-blind)
#BEAB37
Tritanopia (blue-blind)
#C0A094
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b3ac2d; /* rgb */ color: rgb(179, 172, 45); /* oklch */ color: oklch(72.8% 0.141 106.2);
Tailwind
colors: {
custom: {
50: '#cdc470',
500: '#b3ac2d',
950: '#000000',
},
}SCSS
$custom: #b3ac2d; $custom-light: #cdc470; $custom-dark: #000000;
JSON
{
"hex": "#b3ac2d",
"rgb": {
"r": 179,
"g": 172,
"b": 45
},
"hsl": {
"h": 56.866,
"s": 59.821,
"l": 43.922
},
"oklch": {
"l": 0.72828,
"c": 0.14115,
"h": 106.2
},
"luminance": 0.39278
}Semantic roles & 50–950 ramp
primary
#B3AC2D
secondary
#7579C7
accent
#4DE345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B