#A6BC2A#A6BC2A
#A6BC2A is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.3% C 0.163 H 118.2°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #A6BC2A |
|---|---|
| RGB | rgb(166, 188, 42) |
| HSL | hsl(69, 63%, 45%) |
| HSV | hsv(69, 78%, 74%) |
| CMYK | cmyk(11.7%, 0%, 77.7%, 26.3%) |
| CIE-LAB | lab(72.39, -25.61, 65.50) |
| CIE-LCH | lch(72.39, 70.32, 111.35°) |
| OKLab | oklab(75.32% -0.077 0.1435) |
| OKLCH | oklch(75.32% 0.163 118.2) |
| XYZ | xyz(34.1278, 44.2409, 8.9315) |
| Luminance | 0.4424 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.23
Sick Green
#9DB92C
ΔE00 1.87
Gross Green
#A0BF16
ΔE00 1.89
Bright Olive
#9CBB04
ΔE00 2.14
Snot
#ACBB0D
ΔE00 2.52
Snot Green
#9DC100
ΔE00 2.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6BC2A #402ABC
analogous
#BC892A #A6BC2A #5DBC2A
triadic
#A6BC2A #2AA6BC #BC2AA6
tetradic
#A6BC2A #2ABC89 #402ABC #BC2A5D
square
#A6BC2A #2ABC89 #402ABC #BC2A5D
split-complementary
#A6BC2A #2A5DBC #892ABC
monochromatic
#4E5814 #7A8A1F #A6BC2A #C2D74C #D3E27E
Accessibility & contrast
On white
2.13
#A6BC2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.85
#A6BC2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6BC2A
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6BC2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6BC2A | 1.00 | 2.13 | 9.85 | 9.85 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B100
Deuteranopia (green-blind)
#C6B238
Tritanopia (blue-blind)
#B0B1A1
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #a6bc2a; /* rgb */ color: rgb(166, 188, 42); /* oklch */ color: oklch(75.3% 0.163 118.2);
Tailwind
colors: {
custom: {
50: '#c4d070',
500: '#a6bc2a',
950: '#000000',
},
}SCSS
$custom: #a6bc2a; $custom-light: #c4d070; $custom-dark: #000000;
JSON
{
"hex": "#a6bc2a",
"rgb": {
"r": 166,
"g": 188,
"b": 42
},
"hsl": {
"h": 69.041,
"s": 63.478,
"l": 45.098
},
"oklch": {
"l": 0.75323,
"c": 0.16285,
"h": 118.2
},
"luminance": 0.44241
}Semantic roles & 50–950 ramp
primary
#A6BC2A
secondary
#8477CB
accent
#41E75A
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B