#A6BC38#A6BC38
#A6BC38 is a light, vivid yellow-green. Relative luminance 0.444; OKLCH L 75.4% C 0.155 H 118.5°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #A6BC38 |
|---|---|
| RGB | rgb(166, 188, 56) |
| HSL | hsl(70, 54%, 48%) |
| HSV | hsv(70, 70%, 74%) |
| CMYK | cmyk(11.7%, 0%, 70.2%, 26.3%) |
| CIE-LAB | lab(72.47, -24.92, 60.85) |
| CIE-LCH | lch(72.47, 65.75, 112.27°) |
| OKLab | oklab(75.41% -0.074 0.136) |
| OKLCH | oklch(75.41% 0.155 118.5) |
| XYZ | xyz(34.4236, 44.3592, 10.4894) |
| Luminance | 0.4436 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.69
Pea
#A4BF20
ΔE00 2.11
Gross Green
#A0BF16
ΔE00 2.67
Booger
#9BB53C
ΔE00 2.71
Bright Olive
#9CBB04
ΔE00 3.00
Snot
#ACBB0D
ΔE00 3.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6BC38 #4E38BC
analogous
#BC9038 #A6BC38 #64BC38
triadic
#A6BC38 #38A6BC #BC38A6
tetradic
#A6BC38 #38BC90 #4E38BC #BC3864
square
#A6BC38 #38BC90 #4E38BC #BC3864
split-complementary
#A6BC38 #3864BC #9038BC
monochromatic
#535E1C #7C8D2A #A6BC38 #BED061 #D1DE90
Accessibility & contrast
On white
2.13
#A6BC38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.87
#A6BC38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6BC38
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6BC38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6BC38 | 1.00 | 2.13 | 9.87 | 9.87 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B222
Deuteranopia (green-blind)
#C6B243
Tritanopia (blue-blind)
#B0B2A2
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #a6bc38; /* rgb */ color: rgb(166, 188, 56); /* oklch */ color: oklch(75.4% 0.155 118.5);
Tailwind
colors: {
custom: {
50: '#c4d077',
500: '#a6bc38',
950: '#000000',
},
}SCSS
$custom: #a6bc38; $custom-light: #c4d077; $custom-dark: #000000;
JSON
{
"hex": "#a6bc38",
"rgb": {
"r": 166,
"g": 188,
"b": 56
},
"hsl": {
"h": 70,
"s": 54.098,
"l": 47.843
},
"oklch": {
"l": 0.75412,
"c": 0.15484,
"h": 118.5
},
"luminance": 0.44359
}Semantic roles & 50–950 ramp
primary
#A6BC38
secondary
#9287C9
accent
#4ADD63
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#131309
muted
#82827B