#A6B031#A6B031
#A6B031 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.6% C 0.146 H 114.0°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B031 |
|---|---|
| RGB | rgb(166, 176, 49) |
| HSL | hsl(65, 56%, 44%) |
| HSV | hsv(65, 72%, 69%) |
| CMYK | cmyk(5.7%, 0%, 72.2%, 31%) |
| CIE-LAB | lab(69.03, -19.36, 60.02) |
| CIE-LCH | lch(69.03, 63.07, 107.87°) |
| OKLab | oklab(72.63% -0.0591 0.1331) |
| OKLCH | oklch(72.63% 0.146 114) |
| XYZ | xyz(31.8065, 39.3800, 8.8307) |
| Luminance | 0.3938 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.99
Mustard Green
#A8B504
ΔE00 3.07
Barf Green
#94AC02
ΔE00 3.85
Pea Soup Green
#94A617
ΔE00 3.91
Booger
#9BB53C
ΔE00 4.03
Snot
#ACBB0D
ΔE00 4.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B031 #3B31B0
analogous
#B07B31 #A6B031 #67B031
triadic
#A6B031 #31A6B0 #B031A6
tetradic
#A6B031 #31B07B #3B31B0 #B03167
square
#A6B031 #31B07B #3B31B0 #B03167
split-complementary
#A6B031 #3167B0 #7B31B0
monochromatic
#4C5016 #798024 #A6B031 #C4CE50 #D4DC80
Accessibility & contrast
On white
2.37
#A6B031 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.88
#A6B031 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B031
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B031 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B031 | 1.00 | 2.37 | 8.88 | 8.88 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA719
Deuteranopia (green-blind)
#BDAA3B
Tritanopia (blue-blind)
#B1A597
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a6b031; /* rgb */ color: rgb(166, 176, 49); /* oklch */ color: oklch(72.6% 0.146 114.0);
Tailwind
colors: {
custom: {
50: '#c4c772',
500: '#a6b031',
950: '#000000',
},
}SCSS
$custom: #a6b031; $custom-light: #c4c772; $custom-dark: #000000;
JSON
{
"hex": "#a6b031",
"rgb": {
"r": 166,
"g": 176,
"b": 49
},
"hsl": {
"h": 64.724,
"s": 56.444,
"l": 44.118
},
"oklch": {
"l": 0.72634,
"c": 0.14568,
"h": 114
},
"luminance": 0.39379
}Semantic roles & 50–950 ramp
primary
#A6B031
secondary
#7E78C5
accent
#48E054
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B