#A6B82E#A6B82E
#A6B82E is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.4% C 0.156 H 117.0°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B82E |
|---|---|
| RGB | rgb(166, 184, 46) |
| HSL | hsl(68, 60%, 45%) |
| HSV | hsv(68, 75%, 72%) |
| CMYK | cmyk(9.8%, 0%, 75%, 27.8%) |
| CIE-LAB | lab(71.27, -23.48, 63.20) |
| CIE-LCH | lch(71.27, 67.42, 110.38°) |
| OKLab | oklab(74.43% -0.0708 0.1393) |
| OKLCH | oklch(74.43% 0.156 117) |
| XYZ | xyz(33.3604, 42.5856, 9.0467) |
| Luminance | 0.4259 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.10
Pea
#A4BF20
ΔE00 2.46
Snot
#ACBB0D
ΔE00 2.65
Mustard Green
#A8B504
ΔE00 2.71
Bright Olive
#9CBB04
ΔE00 2.89
Gross Green
#A0BF16
ΔE00 3.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B82E #402EB8
analogous
#B8852E #A6B82E #61B82E
triadic
#A6B82E #2EA6B8 #B82EA6
tetradic
#A6B82E #2EB885 #402EB8 #B82E61
square
#A6B82E #2EB885 #402EB8 #B82E61
split-complementary
#A6B82E #2E61B8 #852EB8
monochromatic
#4E5616 #7A8722 #A6B82E #C2D350 #D3DF81
Accessibility & contrast
On white
2.21
#A6B82E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.52
#A6B82E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B82E
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B82E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B82E | 1.00 | 2.21 | 9.52 | 9.52 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AE0D
Deuteranopia (green-blind)
#C3AF3A
Tritanopia (blue-blind)
#B1AD9E
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #a6b82e; /* rgb */ color: rgb(166, 184, 46); /* oklch */ color: oklch(74.4% 0.156 117.0);
Tailwind
colors: {
custom: {
50: '#c4cd71',
500: '#a6b82e',
950: '#000000',
},
}SCSS
$custom: #a6b82e; $custom-light: #c4cd71; $custom-dark: #000000;
JSON
{
"hex": "#a6b82e",
"rgb": {
"r": 166,
"g": 184,
"b": 46
},
"hsl": {
"h": 67.826,
"s": 60,
"l": 45.098
},
"oklch": {
"l": 0.74432,
"c": 0.15629,
"h": 117
},
"luminance": 0.42585
}Semantic roles & 50–950 ramp
primary
#A6B82E
secondary
#8479C8
accent
#45E359
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B