#A6B31E#A6B31E
#A6B31E is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.2% C 0.158 H 115.0°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B31E |
|---|---|
| RGB | rgb(166, 179, 30) |
| HSL | hsl(65, 71%, 41%) |
| HSV | hsv(65, 83%, 70%) |
| CMYK | cmyk(7.3%, 0%, 83.2%, 29.8%) |
| CIE-LAB | lab(69.78, -21.62, 66.49) |
| CIE-LCH | lch(69.78, 69.92, 108.02°) |
| OKLab | oklab(73.21% -0.0669 0.1436) |
| OKLCH | oklch(73.21% 0.158 115) |
| XYZ | xyz(32.0813, 40.4415, 7.3440) |
| Luminance | 0.4044 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.32
Puke Green
#9AAE07
ΔE00 2.35
Snot
#ACBB0D
ΔE00 2.45
Booger Green
#96B403
ΔE00 3.49
Barf Green
#94AC02
ΔE00 3.49
Sick Green
#9DB92C
ΔE00 3.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B31E #2B1EB3
analogous
#B3751E #A6B31E #5BB31E
triadic
#A6B31E #1EA6B3 #B31EA6
tetradic
#A6B31E #1EB375 #2B1EB3 #B31E5B
square
#A6B31E #1EB375 #2B1EB3 #B31E5B
split-complementary
#A6B31E #1E5BB3 #751EB3
monochromatic
#454A0C #757F15 #A6B31E #CEDD32 #DAE566
Accessibility & contrast
On white
2.31
#A6B31E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.09
#A6B31E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B31E
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B31E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B31E | 1.00 | 2.31 | 9.09 | 9.09 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA00
Deuteranopia (green-blind)
#C0AC2E
Tritanopia (blue-blind)
#B1A899
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a6b31e; /* rgb */ color: rgb(166, 179, 30); /* oklch */ color: oklch(73.2% 0.158 115.0);
Tailwind
colors: {
custom: {
50: '#c4c96a',
500: '#a6b31e',
950: '#000000',
},
}SCSS
$custom: #a6b31e; $custom-light: #c4c96a; $custom-dark: #000000;
JSON
{
"hex": "#a6b31e",
"rgb": {
"r": 166,
"g": 179,
"b": 30
},
"hsl": {
"h": 65.235,
"s": 71.292,
"l": 40.98
},
"oklch": {
"l": 0.73212,
"c": 0.15839,
"h": 115
},
"luminance": 0.40441
}Semantic roles & 50–950 ramp
primary
#A6B31E
secondary
#6B62CB
accent
#3AEE49
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A