#A6B131#A6B131
#A6B131 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 72.9% C 0.147 H 114.4°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B131 |
|---|---|
| RGB | rgb(166, 177, 49) |
| HSL | hsl(65, 57%, 44%) |
| HSV | hsv(65, 72%, 69%) |
| CMYK | cmyk(6.2%, 0%, 72.3%, 30.6%) |
| CIE-LAB | lab(69.31, -19.86, 60.30) |
| CIE-LCH | lch(69.31, 63.48, 108.23°) |
| OKLab | oklab(72.86% -0.0605 0.1337) |
| OKLCH | oklch(72.86% 0.147 114.4) |
| XYZ | xyz(32.0033, 39.7736, 8.8963) |
| Luminance | 0.3977 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.92
Mustard Green
#A8B504
ΔE00 2.94
Barf Green
#94AC02
ΔE00 3.79
Booger
#9BB53C
ΔE00 3.81
Snot
#ACBB0D
ΔE00 3.82
Sick Green
#9DB92C
ΔE00 3.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B131 #3C31B1
analogous
#B17C31 #A6B131 #66B131
triadic
#A6B131 #31A6B1 #B131A6
tetradic
#A6B131 #31B17C #3C31B1 #B13166
square
#A6B131 #31B17C #3C31B1 #B13166
split-complementary
#A6B131 #3166B1 #7C31B1
monochromatic
#4C5116 #798124 #A6B131 #C4CF51 #D4DC80
Accessibility & contrast
On white
2.35
#A6B131 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.95
#A6B131 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B131
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B131 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B131 | 1.00 | 2.35 | 8.95 | 8.95 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA819
Deuteranopia (green-blind)
#BDAA3B
Tritanopia (blue-blind)
#B1A698
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a6b131; /* rgb */ color: rgb(166, 177, 49); /* oklch */ color: oklch(72.9% 0.147 114.4);
Tailwind
colors: {
custom: {
50: '#c4c872',
500: '#a6b131',
950: '#000000',
},
}SCSS
$custom: #a6b131; $custom-light: #c4c872; $custom-dark: #000000;
JSON
{
"hex": "#a6b131",
"rgb": {
"r": 166,
"g": 177,
"b": 49
},
"hsl": {
"h": 65.156,
"s": 56.637,
"l": 44.314
},
"oklch": {
"l": 0.7286,
"c": 0.14678,
"h": 114.4
},
"luminance": 0.39773
}Semantic roles & 50–950 ramp
primary
#A6B131
secondary
#7F79C5
accent
#48E055
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B