#A8AB2B#A8AB2B
#A8AB2B 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.52:1 contrast (WCAG AA passes).
Color values
| HEX | #A8AB2B |
|---|---|
| RGB | rgb(168, 171, 43) |
| HSL | hsl(61, 60%, 42%) |
| HSV | hsv(61, 75%, 67%) |
| CMYK | cmyk(1.8%, 0%, 74.9%, 32.9%) |
| CIE-LAB | lab(67.74, -16.24, 60.95) |
| CIE-LCH | lch(67.74, 63.07, 104.92°) |
| OKLab | oklab(71.64% -0.0511 0.1339) |
| OKLCH | oklch(71.64% 0.143 110.9) |
| XYZ | xyz(31.1485, 37.6259, 7.9067) |
| Luminance | 0.3762 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.33
Puke
#A5A502
ΔE00 2.70
Mustard Green
#A8B504
ΔE00 3.87
Puke Green
#9AAE07
ΔE00 3.99
Pea Soup Green
#94A617
ΔE00 4.21
Barf Green
#94AC02
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8AB2B #2E2BAB
analogous
#AB6E2B #A8AB2B #68AB2B
triadic
#A8AB2B #2BA8AB #AB2BA8
tetradic
#A8AB2B #2BAB6E #2E2BAB #AB2B68
square
#A8AB2B #2BAB6E #2E2BAB #AB2B68
split-complementary
#A8AB2B #2B68AB #6E2BAB
monochromatic
#484912 #787A1F #A8AB2B #CDD043 #DADC74
Accessibility & contrast
On white
2.46
#A8AB2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.52
#A8AB2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8AB2B
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8AB2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8AB2B | 1.00 | 2.46 | 8.52 | 8.52 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A30E
Deuteranopia (green-blind)
#BAA736
Tritanopia (blue-blind)
#B4A093
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #a8ab2b; /* rgb */ color: rgb(168, 171, 43); /* oklch */ color: oklch(71.6% 0.143 110.9);
Tailwind
colors: {
custom: {
50: '#c5c36f',
500: '#a8ab2b',
950: '#000000',
},
}SCSS
$custom: #a8ab2b; $custom-light: #c5c36f; $custom-dark: #000000;
JSON
{
"hex": "#a8ab2b",
"rgb": {
"r": 168,
"g": 171,
"b": 43
},
"hsl": {
"h": 61.406,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.71636,
"c": 0.14337,
"h": 110.9
},
"luminance": 0.37625
}Semantic roles & 50–950 ramp
primary
#A8AB2B
secondary
#706EC4
accent
#45E349
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B