#A6BA34#A6BA34
#A6BA34 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 74.9% C 0.155 H 117.8°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #A6BA34 |
|---|---|
| RGB | rgb(166, 186, 52) |
| HSL | hsl(69, 56%, 47%) |
| HSV | hsv(69, 72%, 73%) |
| CMYK | cmyk(10.8%, 0%, 72%, 27.1%) |
| CIE-LAB | lab(71.87, -24.16, 61.72) |
| CIE-LCH | lch(71.87, 66.28, 111.38°) |
| OKLab | oklab(74.93% -0.0722 0.1372) |
| OKLCH | oklch(74.93% 0.155 117.8) |
| XYZ | xyz(33.9054, 43.4731, 9.8532) |
| Luminance | 0.4347 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.75
Pea
#A4BF20
ΔE00 2.21
Booger
#9BB53C
ΔE00 2.77
Gross Green
#A0BF16
ΔE00 2.79
Bright Olive
#9CBB04
ΔE00 2.90
Snot
#ACBB0D
ΔE00 3.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6BA34 #4834BA
analogous
#BA8B34 #A6BA34 #63BA34
triadic
#A6BA34 #34A6BA #BA34A6
tetradic
#A6BA34 #34BA8B #4834BA #BA3463
square
#A6BA34 #34BA8B #4834BA #BA3463
split-complementary
#A6BA34 #3463BA #8B34BA
monochromatic
#515A19 #7B8A27 #A6BA34 #BFD15A #D2DE8A
Accessibility & contrast
On white
2.17
#A6BA34 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.69
#A6BA34 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6BA34
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6BA34 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6BA34 | 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)
#C6B01B
Deuteranopia (green-blind)
#C4B13F
Tritanopia (blue-blind)
#B0B0A0
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a6ba34; /* rgb */ color: rgb(166, 186, 52); /* oklch */ color: oklch(74.9% 0.155 117.8);
Tailwind
colors: {
custom: {
50: '#c4ce75',
500: '#a6ba34',
950: '#000000',
},
}SCSS
$custom: #a6ba34; $custom-light: #c4ce75; $custom-dark: #000000;
JSON
{
"hex": "#a6ba34",
"rgb": {
"r": 166,
"g": 186,
"b": 52
},
"hsl": {
"h": 68.955,
"s": 56.303,
"l": 46.667
},
"oklch": {
"l": 0.74927,
"c": 0.15506,
"h": 117.8
},
"luminance": 0.43473
}Semantic roles & 50–950 ramp
primary
#A6BA34
secondary
#8C81C8
accent
#48E05F
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B