#A8AB2C#A8AB2C
#A8AB2C is a light, vivid yellow. Relative luminance 0.376; OKLCH L 71.6% C 0.143 H 110.9°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #A8AB2C |
|---|---|
| RGB | rgb(168, 171, 44) |
| HSL | hsl(61, 59%, 42%) |
| HSV | hsv(61, 74%, 67%) |
| CMYK | cmyk(1.8%, 0%, 74.3%, 32.9%) |
| CIE-LAB | lab(67.75, -16.20, 60.61) |
| CIE-LCH | lch(67.75, 62.74, 104.96°) |
| OKLab | oklab(71.64% -0.0509 0.1334) |
| OKLCH | oklch(71.64% 0.143 110.9) |
| XYZ | xyz(31.1671, 37.6333, 8.0046) |
| Luminance | 0.3763 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.37
Puke
#A5A502
ΔE00 2.77
Mustard Green
#A8B504
ΔE00 3.92
Puke Green
#9AAE07
ΔE00 4.02
Pea Soup Green
#94A617
ΔE00 4.21
Barf Green
#94AC02
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8AB2C #2F2CAB
analogous
#AB6E2C #A8AB2C #69AB2C
triadic
#A8AB2C #2CA8AB #AB2CA8
tetradic
#A8AB2C #2CAB6E #2F2CAB #AB2C69
square
#A8AB2C #2CAB6E #2F2CAB #AB2C69
split-complementary
#A8AB2C #2C69AB #6E2CAB
monochromatic
#484A13 #787A1F #A8AB2C #CCCF45 #D9DC76
Accessibility & contrast
On white
2.46
#A8AB2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.53
#A8AB2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8AB2C
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8AB2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8AB2C | 1.00 | 2.46 | 8.53 | 8.53 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A310
Deuteranopia (green-blind)
#BAA736
Tritanopia (blue-blind)
#B4A093
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #a8ab2c; /* rgb */ color: rgb(168, 171, 44); /* oklch */ color: oklch(71.6% 0.143 110.9);
Tailwind
colors: {
custom: {
50: '#c5c36f',
500: '#a8ab2c',
950: '#000000',
},
}SCSS
$custom: #a8ab2c; $custom-light: #c5c36f; $custom-dark: #000000;
JSON
{
"hex": "#a8ab2c",
"rgb": {
"r": 168,
"g": 171,
"b": 44
},
"hsl": {
"h": 61.417,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.71642,
"c": 0.14281,
"h": 110.9
},
"luminance": 0.37632
}Semantic roles & 50–950 ramp
primary
#A8AB2C
secondary
#716FC3
accent
#46E249
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B