#A6B331#A6B331
#A6B331 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.3% C 0.149 H 115.2°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B331 |
|---|---|
| RGB | rgb(166, 179, 49) |
| HSL | hsl(66, 57%, 45%) |
| HSV | hsv(66, 73%, 70%) |
| CMYK | cmyk(7.3%, 0%, 72.6%, 29.8%) |
| CIE-LAB | lab(69.87, -20.86, 60.84) |
| CIE-LCH | lch(69.87, 64.32, 108.92°) |
| OKLab | oklab(73.31% -0.0633 0.1349) |
| OKLCH | oklch(73.31% 0.149 115.2) |
| XYZ | xyz(32.4012, 40.5695, 9.0290) |
| Luminance | 0.4057 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.76
Puke Green
#9AAE07
ΔE00 2.89
Sick Green
#9DB92C
ΔE00 3.25
Booger
#9BB53C
ΔE00 3.42
Snot
#ACBB0D
ΔE00 3.43
Sickly Green
#94B21C
ΔE00 3.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B331 #3E31B3
analogous
#B37F31 #A6B331 #65B331
triadic
#A6B331 #31A6B3 #B331A6
tetradic
#A6B331 #31B37F #3E31B3 #B33165
square
#A6B331 #31B37F #3E31B3 #B33165
split-complementary
#A6B331 #3165B3 #7F31B3
monochromatic
#4D5317 #798324 #A6B331 #C3D052 #D4DD82
Accessibility & contrast
On white
2.30
#A6B331 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.11
#A6B331 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B331
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B331 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B331 | 1.00 | 2.30 | 9.11 | 9.11 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA18
Deuteranopia (green-blind)
#BFAC3C
Tritanopia (blue-blind)
#B1A99A
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a6b331; /* rgb */ color: rgb(166, 179, 49); /* oklch */ color: oklch(73.3% 0.149 115.2);
Tailwind
colors: {
custom: {
50: '#c4c972',
500: '#a6b331',
950: '#000000',
},
}SCSS
$custom: #a6b331; $custom-light: #c4c972; $custom-dark: #000000;
JSON
{
"hex": "#a6b331",
"rgb": {
"r": 166,
"g": 179,
"b": 49
},
"hsl": {
"h": 66,
"s": 57.018,
"l": 44.706
},
"oklch": {
"l": 0.73314,
"c": 0.14899,
"h": 115.2
},
"luminance": 0.40569
}Semantic roles & 50–950 ramp
primary
#A6B331
secondary
#827AC6
accent
#48E057
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B