#A6AB27#A6AB27
#A6AB27 is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.4% C 0.146 H 111.8°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).
Color values
| HEX | #A6AB27 |
|---|---|
| RGB | rgb(166, 171, 39) |
| HSL | hsl(62, 63%, 41%) |
| HSV | hsv(62, 77%, 67%) |
| CMYK | cmyk(2.9%, 0%, 77.2%, 32.9%) |
| CIE-LAB | lab(67.56, -17.28, 62.02) |
| CIE-LCH | lch(67.56, 64.38, 105.57°) |
| OKLab | oklab(71.44% -0.0543 0.1356) |
| OKLCH | oklch(71.44% 0.146 111.8) |
| XYZ | xyz(30.6561, 37.3801, 7.5193) |
| Luminance | 0.3738 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.25
Puke
#A5A502
ΔE00 2.67
Puke Green
#9AAE07
ΔE00 3.46
Mustard Green
#A8B504
ΔE00 3.56
Pea Soup Green
#94A617
ΔE00 3.74
Barf Green
#94AC02
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6AB27 #2C27AB
analogous
#AB6E27 #A6AB27 #64AB27
triadic
#A6AB27 #27A6AB #AB27A6
tetradic
#A6AB27 #27AB6E #2C27AB #AB2764
square
#A6AB27 #27AB6E #2C27AB #AB2764
split-complementary
#A6AB27 #2764AB #6E27AB
monochromatic
#454710 #76791C #A6AB27 #CDD33D #DADE6E
Accessibility & contrast
On white
2.48
#A6AB27 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.48
#A6AB27 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6AB27
8.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6AB27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6AB27 | 1.00 | 2.48 | 8.48 | 8.48 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A301
Deuteranopia (green-blind)
#B9A633
Tritanopia (blue-blind)
#B2A092
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #a6ab27; /* rgb */ color: rgb(166, 171, 39); /* oklch */ color: oklch(71.4% 0.146 111.8);
Tailwind
colors: {
custom: {
50: '#c4c36d',
500: '#a6ab27',
950: '#000000',
},
}SCSS
$custom: #a6ab27; $custom-light: #c4c36d; $custom-dark: #000000;
JSON
{
"hex": "#a6ab27",
"rgb": {
"r": 166,
"g": 171,
"b": 39
},
"hsl": {
"h": 62.273,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.71443,
"c": 0.14602,
"h": 111.8
},
"luminance": 0.37379
}Semantic roles & 50–950 ramp
primary
#A6AB27
secondary
#6D69C5
accent
#42E648
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B