#A6BA38#A6BA38
#A6BA38 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.0% C 0.153 H 117.9°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #A6BA38 |
|---|---|
| RGB | rgb(166, 186, 56) |
| HSL | hsl(69, 54%, 47%) |
| HSV | hsv(69, 70%, 73%) |
| CMYK | cmyk(10.8%, 0%, 69.9%, 27.1%) |
| CIE-LAB | lab(71.90, -23.95, 60.28) |
| CIE-LCH | lch(71.90, 64.86, 111.67°) |
| OKLab | oklab(74.96% -0.0712 0.1348) |
| OKLCH | oklch(74.96% 0.153 117.9) |
| XYZ | xyz(33.9993, 43.5107, 10.3479) |
| Luminance | 0.4351 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.80
Pea
#A4BF20
ΔE00 2.49
Booger
#9BB53C
ΔE00 2.53
Gross Green
#A0BF16
ΔE00 3.04
Bright Olive
#9CBB04
ΔE00 3.19
Snot
#ACBB0D
ΔE00 3.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6BA38 #4C38BA
analogous
#BA8D38 #A6BA38 #65BA38
triadic
#A6BA38 #38A6BA #BA38A6
tetradic
#A6BA38 #38BA8D #4C38BA #BA3865
square
#A6BA38 #38BA8D #4C38BA #BA3865
split-complementary
#A6BA38 #3865BA #8D38BA
monochromatic
#525C1C #7C8B2A #A6BA38 #BECF60 #D1DD8F
Accessibility & contrast
On white
2.16
#A6BA38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.70
#A6BA38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6BA38
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6BA38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6BA38 | 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)
#C6B023
Deuteranopia (green-blind)
#C4B142
Tritanopia (blue-blind)
#B0B0A0
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a6ba38; /* rgb */ color: rgb(166, 186, 56); /* oklch */ color: oklch(75.0% 0.153 117.9);
Tailwind
colors: {
custom: {
50: '#c4ce77',
500: '#a6ba38',
950: '#000000',
},
}SCSS
$custom: #a6ba38; $custom-light: #c4ce77; $custom-dark: #000000;
JSON
{
"hex": "#a6ba38",
"rgb": {
"r": 166,
"g": 186,
"b": 56
},
"hsl": {
"h": 69.231,
"s": 53.719,
"l": 47.451
},
"oklch": {
"l": 0.74955,
"c": 0.15251,
"h": 117.9
},
"luminance": 0.4351
}Semantic roles & 50–950 ramp
primary
#A6BA38
secondary
#9086C8
accent
#4BDD61
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#131309
muted
#82827B