#A6BA31#A6BA31
#A6BA31 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 74.9% C 0.157 H 117.7°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #A6BA31 |
|---|---|
| RGB | rgb(166, 186, 49) |
| HSL | hsl(69, 58%, 46%) |
| HSV | hsv(69, 74%, 73%) |
| CMYK | cmyk(10.8%, 0%, 73.7%, 27.1%) |
| CIE-LAB | lab(71.86, -24.32, 62.75) |
| CIE-LCH | lch(71.86, 67.29, 111.18°) |
| OKLab | oklab(74.91% -0.0729 0.1389) |
| OKLCH | oklch(74.91% 0.157 117.7) |
| XYZ | xyz(33.8400, 43.4469, 9.5085) |
| Luminance | 0.4345 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.77
Pea
#A4BF20
ΔE00 2.04
Gross Green
#A0BF16
ΔE00 2.63
Bright Olive
#9CBB04
ΔE00 2.71
Snot
#ACBB0D
ΔE00 2.89
Booger
#9BB53C
ΔE00 2.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6BA31 #4531BA
analogous
#BA8931 #A6BA31 #61BA31
triadic
#A6BA31 #31A6BA #BA31A6
tetradic
#A6BA31 #31BA89 #4531BA #BA3161
square
#A6BA31 #31BA89 #4531BA #BA3161
split-complementary
#A6BA31 #3161BA #8931BA
monochromatic
#505917 #7B8A24 #A6BA31 #C0D256 #D2DF86
Accessibility & contrast
On white
2.17
#A6BA31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.69
#A6BA31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6BA31
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6BA31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6BA31 | 1.00 | 2.17 | 9.69 | 9.69 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B014
Deuteranopia (green-blind)
#C5B13D
Tritanopia (blue-blind)
#B0B0A0
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a6ba31; /* rgb */ color: rgb(166, 186, 49); /* oklch */ color: oklch(74.9% 0.157 117.7);
Tailwind
colors: {
custom: {
50: '#c4ce73',
500: '#a6ba31',
950: '#000000',
},
}SCSS
$custom: #a6ba31; $custom-light: #c4ce73; $custom-dark: #000000;
JSON
{
"hex": "#a6ba31",
"rgb": {
"r": 166,
"g": 186,
"b": 49
},
"hsl": {
"h": 68.759,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.74907,
"c": 0.15684,
"h": 117.7
},
"luminance": 0.43447
}Semantic roles & 50–950 ramp
primary
#A6BA31
secondary
#897EC9
accent
#46E25D
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B