#A6AF1E#A6AF1E
#A6AF1E is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.3% C 0.154 H 113.5°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #A6AF1E |
|---|---|
| RGB | rgb(166, 175, 30) |
| HSL | hsl(64, 71%, 40%) |
| HSV | hsv(64, 83%, 69%) |
| CMYK | cmyk(5.1%, 0%, 82.9%, 31.4%) |
| CIE-LAB | lab(68.65, -19.63, 65.52) |
| CIE-LCH | lch(68.65, 68.40, 106.67°) |
| OKLab | oklab(72.3% -0.0614 0.1415) |
| OKLCH | oklch(72.3% 0.154 113.5) |
| XYZ | xyz(31.2912, 38.8614, 7.0807) |
| Luminance | 0.3886 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.10
Puke Green
#9AAE07
ΔE00 2.56
Vomit
#A2A415
ΔE00 3.33
Puke
#A5A502
ΔE00 3.47
Snot
#ACBB0D
ΔE00 3.50
Barf Green
#94AC02
ΔE00 3.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6AF1E #271EAF
analogous
#AF6F1E #A6AF1E #5EAF1E
triadic
#A6AF1E #1EA6AF #AF1EA6
tetradic
#A6AF1E #1EAF6F #271EAF #AF1E5E
square
#A6AF1E #1EAF6F #271EAF #AF1E5E
split-complementary
#A6AF1E #1E5EAF #6F1EAF
monochromatic
#43470C #747B15 #A6AF1E #D1DB2F #DCE463
Accessibility & contrast
On white
2.39
#A6AF1E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.77
#A6AF1E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6AF1E
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6AF1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6AF1E | 1.00 | 2.39 | 8.77 | 8.77 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA600
Deuteranopia (green-blind)
#BDA92D
Tritanopia (blue-blind)
#B2A495
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a6af1e; /* rgb */ color: rgb(166, 175, 30); /* oklch */ color: oklch(72.3% 0.154 113.5);
Tailwind
colors: {
custom: {
50: '#c4c66a',
500: '#a6af1e',
950: '#000000',
},
}SCSS
$custom: #a6af1e; $custom-light: #c4c66a; $custom-dark: #000000;
JSON
{
"hex": "#a6af1e",
"rgb": {
"r": 166,
"g": 175,
"b": 30
},
"hsl": {
"h": 63.724,
"s": 70.732,
"l": 40.196
},
"oklch": {
"l": 0.72304,
"c": 0.15423,
"h": 113.5
},
"luminance": 0.38861
}Semantic roles & 50–950 ramp
primary
#A6AF1E
secondary
#6660C9
accent
#3AED45
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A