#ABAC2D#ABAC2D
#ABAC2D is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.1% C 0.143 H 110.0°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).
Color values
| HEX | #ABAC2D |
|---|---|
| RGB | rgb(171, 172, 45) |
| HSL | hsl(60, 59%, 43%) |
| HSV | hsv(60, 74%, 67%) |
| CMYK | cmyk(0.6%, 0%, 73.8%, 32.5%) |
| CIE-LAB | lab(68.28, -15.36, 60.86) |
| CIE-LCH | lch(68.28, 62.77, 104.17°) |
| OKLab | oklab(72.13% -0.0487 0.134) |
| OKLCH | oklch(72.13% 0.143 110) |
| XYZ | xyz(32.0219, 38.3534, 8.1982) |
| Luminance | 0.3835 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.67
Puke
#A5A502
ΔE00 2.84
Mustard Green
#A8B504
ΔE00 3.96
Puke Green
#9AAE07
ΔE00 4.48
Pea Soup Green
#94A617
ΔE00 4.85
Snot
#ACBB0D
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABAC2D #2E2DAC
analogous
#AC6D2D #ABAC2D #6CAC2D
triadic
#ABAC2D #2DABAC #AC2DAB
tetradic
#ABAC2D #2DAC6D #2E2DAC #AC2D6C
square
#ABAC2D #2DAC6D #2E2DAC #AC2D6C
split-complementary
#ABAC2D #2D6CAC #6D2DAC
monochromatic
#4B4B14 #7B7B20 #ABAC2D #CECF47 #DBDC78
Accessibility & contrast
On white
2.42
#ABAC2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.67
#ABAC2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABAC2D
8.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABAC2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABAC2D | 1.00 | 2.42 | 8.67 | 8.67 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA412
Deuteranopia (green-blind)
#BBA837
Tritanopia (blue-blind)
#B7A194
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #abac2d; /* rgb */ color: rgb(171, 172, 45); /* oklch */ color: oklch(72.1% 0.143 110.0);
Tailwind
colors: {
custom: {
50: '#c8c470',
500: '#abac2d',
950: '#000000',
},
}SCSS
$custom: #abac2d; $custom-light: #c8c470; $custom-dark: #000000;
JSON
{
"hex": "#abac2d",
"rgb": {
"r": 171,
"g": 172,
"b": 45
},
"hsl": {
"h": 60.472,
"s": 58.525,
"l": 42.549
},
"oklch": {
"l": 0.72128,
"c": 0.14257,
"h": 110
},
"luminance": 0.38352
}Semantic roles & 50–950 ramp
primary
#ABAC2D
secondary
#7271C4
accent
#46E247
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141208
muted
#82817B