#A6BA37#A6BA37
#A6BA37 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 74.9% C 0.153 H 117.8°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #A6BA37 |
|---|---|
| RGB | rgb(166, 186, 55) |
| HSL | hsl(69, 54%, 47%) |
| HSV | hsv(69, 70%, 73%) |
| CMYK | cmyk(10.8%, 0%, 70.4%, 27.1%) |
| CIE-LAB | lab(71.89, -24.00, 60.65) |
| CIE-LCH | lch(71.89, 65.22, 111.59°) |
| OKLab | oklab(74.95% -0.0715 0.1354) |
| OKLCH | oklch(74.95% 0.153 117.8) |
| XYZ | xyz(33.9751, 43.5010, 10.2204) |
| Luminance | 0.4350 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.78
Pea
#A4BF20
ΔE00 2.41
Booger
#9BB53C
ΔE00 2.59
Gross Green
#A0BF16
ΔE00 2.97
Bright Olive
#9CBB04
ΔE00 3.11
Snot
#ACBB0D
ΔE00 3.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6BA37 #4B37BA
analogous
#BA8C37 #A6BA37 #65BA37
triadic
#A6BA37 #37A6BA #BA37A6
tetradic
#A6BA37 #37BA8C #4B37BA #BA3765
square
#A6BA37 #37BA8C #4B37BA #BA3765
split-complementary
#A6BA37 #3765BA #8C37BA
monochromatic
#525C1B #7C8B29 #A6BA37 #BED05F #D1DE8E
Accessibility & contrast
On white
2.16
#A6BA37 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.70
#A6BA37 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6BA37
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6BA37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6BA37 | 1.00 | 2.16 | 9.70 | 9.70 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B021
Deuteranopia (green-blind)
#C4B141
Tritanopia (blue-blind)
#B0B0A0
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a6ba37; /* rgb */ color: rgb(166, 186, 55); /* oklch */ color: oklch(74.9% 0.153 117.8);
Tailwind
colors: {
custom: {
50: '#c4ce76',
500: '#a6ba37',
950: '#000000',
},
}SCSS
$custom: #a6ba37; $custom-light: #c4ce76; $custom-dark: #000000;
JSON
{
"hex": "#a6ba37",
"rgb": {
"r": 166,
"g": 186,
"b": 55
},
"hsl": {
"h": 69.16,
"s": 54.357,
"l": 47.255
},
"oklch": {
"l": 0.74948,
"c": 0.15316,
"h": 117.8
},
"luminance": 0.43501
}Semantic roles & 50–950 ramp
primary
#A6BA37
secondary
#8F85C8
accent
#4ADE61
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B