#A6AB1F#A6AB1F
#A6AB1F is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.4% C 0.150 H 111.8°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).
Color values
| HEX | #A6AB1F |
|---|---|
| RGB | rgb(166, 171, 31) |
| HSL | hsl(62, 69%, 40%) |
| HSV | hsv(62, 82%, 67%) |
| CMYK | cmyk(2.9%, 0%, 81.9%, 32.9%) |
| CIE-LAB | lab(67.53, -17.57, 64.30) |
| CIE-LCH | lch(67.53, 66.66, 105.29°) |
| OKLab | oklab(71.4% -0.0557 0.139) |
| OKLCH | oklch(71.4% 0.15 111.8) |
| XYZ | xyz(30.5372, 37.3325, 6.8933) |
| Luminance | 0.3733 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.08
Puke
#A5A502
ΔE00 2.30
Mustard Green
#A8B504
ΔE00 3.28
Puke Green
#9AAE07
ΔE00 3.35
Pea Soup Green
#94A617
ΔE00 3.82
Barf Green
#94AC02
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6AB1F #241FAB
analogous
#AB6A1F #A6AB1F #60AB1F
triadic
#A6AB1F #1FA6AB #AB1FA6
tetradic
#A6AB1F #1FAB6A #241FAB #AB1F60
square
#A6AB1F #1FAB6A #241FAB #AB1F60
split-complementary
#A6AB1F #1F60AB #6A1FAB
monochromatic
#41430C #747716 #A6AB1F #D3D92E #DEE362
Accessibility & contrast
On white
2.48
#A6AB1F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.47
#A6AB1F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6AB1F
8.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6AB1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6AB1F | 1.00 | 2.48 | 8.47 | 8.47 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B9A62D
Tritanopia (blue-blind)
#B2A092
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a6ab1f; /* rgb */ color: rgb(166, 171, 31); /* oklch */ color: oklch(71.4% 0.150 111.8);
Tailwind
colors: {
custom: {
50: '#c4c369',
500: '#a6ab1f',
950: '#000000',
},
}SCSS
$custom: #a6ab1f; $custom-light: #c4c369; $custom-dark: #000000;
JSON
{
"hex": "#a6ab1f",
"rgb": {
"r": 166,
"g": 171,
"b": 31
},
"hsl": {
"h": 62.143,
"s": 69.307,
"l": 39.608
},
"oklch": {
"l": 0.71404,
"c": 0.14974,
"h": 111.8
},
"luminance": 0.37332
}Semantic roles & 50–950 ramp
primary
#A6AB1F
secondary
#625EC7
accent
#3CEC42
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A