#A6B931#A6B931
#A6B931 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 74.7% C 0.156 H 117.4°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B931 |
|---|---|
| RGB | rgb(166, 185, 49) |
| HSL | hsl(68, 58%, 46%) |
| HSV | hsv(68, 74%, 73%) |
| CMYK | cmyk(10.3%, 0%, 73.5%, 27.5%) |
| CIE-LAB | lab(71.57, -23.83, 62.47) |
| CIE-LCH | lch(71.57, 66.86, 110.88°) |
| OKLab | oklab(74.68% -0.0715 0.1383) |
| OKLCH | oklch(74.68% 0.156 117.4) |
| XYZ | xyz(33.6300, 43.0270, 9.4386) |
| Luminance | 0.4303 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.89
Pea
#A4BF20
ΔE00 2.30
Bright Olive
#9CBB04
ΔE00 2.86
Gross Green
#A0BF16
ΔE00 2.87
Snot
#ACBB0D
ΔE00 2.88
Booger
#9BB53C
ΔE00 2.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B931 #4431B9
analogous
#B98831 #A6B931 #62B931
triadic
#A6B931 #31A6B9 #B931A6
tetradic
#A6B931 #31B988 #4431B9 #B93162
square
#A6B931 #31B988 #4431B9 #B93162
split-complementary
#A6B931 #3162B9 #8831B9
monochromatic
#4F5817 #7B8924 #A6B931 #C1D255 #D2DF86
Accessibility & contrast
On white
2.19
#A6B931 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.61
#A6B931 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B931
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B931 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B931 | 1.00 | 2.19 | 9.61 | 9.61 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6AF15
Deuteranopia (green-blind)
#C4B03D
Tritanopia (blue-blind)
#B0AF9F
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #a6b931; /* rgb */ color: rgb(166, 185, 49); /* oklch */ color: oklch(74.7% 0.156 117.4);
Tailwind
colors: {
custom: {
50: '#c4ce73',
500: '#a6b931',
950: '#000000',
},
}SCSS
$custom: #a6b931; $custom-light: #c4ce73; $custom-dark: #000000;
JSON
{
"hex": "#a6b931",
"rgb": {
"r": 166,
"g": 185,
"b": 49
},
"hsl": {
"h": 68.382,
"s": 58.12,
"l": 45.882
},
"oklch": {
"l": 0.74679,
"c": 0.15571,
"h": 117.4
},
"luminance": 0.43027
}Semantic roles & 50–950 ramp
primary
#A6B931
secondary
#887DC8
accent
#46E15C
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B