#ABAC2C#ABAC2C
#ABAC2C is a light, vivid yellow. Relative luminance 0.383; 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 | #ABAC2C |
|---|---|
| RGB | rgb(171, 172, 44) |
| HSL | hsl(60, 59%, 42%) |
| HSV | hsv(60, 74%, 67%) |
| CMYK | cmyk(0.6%, 0%, 74.4%, 32.5%) |
| CIE-LAB | lab(68.27, -15.41, 61.19) |
| CIE-LCH | lch(68.27, 63.10, 104.13°) |
| OKLab | oklab(72.12% -0.0489 0.1345) |
| OKLCH | oklch(72.12% 0.143 110) |
| XYZ | xyz(32.0029, 38.3458, 8.0980) |
| Luminance | 0.3835 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.64
Puke
#A5A502
ΔE00 2.78
Mustard Green
#A8B504
ΔE00 3.91
Puke Green
#9AAE07
ΔE00 4.46
Pea Soup Green
#94A617
ΔE00 4.85
Snot
#ACBB0D
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABAC2C #2D2CAC
analogous
#AC6D2C #ABAC2C #6BAC2C
triadic
#ABAC2C #2CABAC #AC2CAB
tetradic
#ABAC2C #2CAC6D #2D2CAC #AC2C6B
square
#ABAC2C #2CAC6D #2D2CAC #AC2C6B
split-complementary
#ABAC2C #2C6BAC #6D2CAC
monochromatic
#4A4B13 #7B7B20 #ABAC2C #CED046 #DBDC76
Accessibility & contrast
On white
2.42
#ABAC2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.67
#ABAC2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABAC2C
8.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABAC2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABAC2C | 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)
#BAA410
Deuteranopia (green-blind)
#BBA836
Tritanopia (blue-blind)
#B7A194
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #abac2c; /* rgb */ color: rgb(171, 172, 44); /* oklch */ color: oklch(72.1% 0.143 110.0);
Tailwind
colors: {
custom: {
50: '#c8c46f',
500: '#abac2c',
950: '#000000',
},
}SCSS
$custom: #abac2c; $custom-light: #c8c46f; $custom-dark: #000000;
JSON
{
"hex": "#abac2c",
"rgb": {
"r": 171,
"g": 172,
"b": 44
},
"hsl": {
"h": 60.469,
"s": 59.259,
"l": 42.353
},
"oklch": {
"l": 0.72122,
"c": 0.14314,
"h": 110
},
"luminance": 0.38345
}Semantic roles & 50–950 ramp
primary
#ABAC2C
secondary
#7170C4
accent
#45E247
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141208
muted
#82817B