#A8AB27#A8AB27
#A8AB27 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 71.6% C 0.146 H 110.9°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #A8AB27 |
|---|---|
| RGB | rgb(168, 171, 39) |
| HSL | hsl(61, 63%, 41%) |
| HSV | hsv(61, 77%, 67%) |
| CMYK | cmyk(1.8%, 0%, 77.2%, 32.9%) |
| CIE-LAB | lab(67.72, -16.41, 62.22) |
| CIE-LCH | lch(67.72, 64.35, 104.78°) |
| OKLab | oklab(71.61% -0.0519 0.1359) |
| OKLCH | oklch(71.61% 0.146 110.9) |
| XYZ | xyz(31.0787, 37.5980, 7.5391) |
| Luminance | 0.3760 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.19
Puke
#A5A502
ΔE00 2.45
Mustard Green
#A8B504
ΔE00 3.69
Puke Green
#9AAE07
ΔE00 3.90
Pea Soup Green
#94A617
ΔE00 4.21
Barf Green
#94AC02
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8AB27 #2A27AB
analogous
#AB6C27 #A8AB27 #66AB27
triadic
#A8AB27 #27A8AB #AB27A8
tetradic
#A8AB27 #27AB6C #2A27AB #AB2766
square
#A8AB27 #27AB6C #2A27AB #AB2766
split-complementary
#A8AB27 #2766AB #6C27AB
monochromatic
#464710 #77791C #A8AB27 #CFD33D #DBDE6E
Accessibility & contrast
On white
2.46
#A8AB27 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.52
#A8AB27 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8AB27
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8AB27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8AB27 | 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)
#B9A301
Deuteranopia (green-blind)
#BAA733
Tritanopia (blue-blind)
#B4A092
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #a8ab27; /* rgb */ color: rgb(168, 171, 39); /* oklch */ color: oklch(71.6% 0.146 110.9);
Tailwind
colors: {
custom: {
50: '#c6c36d',
500: '#a8ab27',
950: '#000000',
},
}SCSS
$custom: #a8ab27; $custom-light: #c6c36d; $custom-dark: #000000;
JSON
{
"hex": "#a8ab27",
"rgb": {
"r": 168,
"g": 171,
"b": 39
},
"hsl": {
"h": 61.364,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.71613,
"c": 0.14551,
"h": 110.9
},
"luminance": 0.37597
}Semantic roles & 50–950 ramp
primary
#A8AB27
secondary
#6B69C5
accent
#42E646
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131208
muted
#82817B