#A6BD21#A6BD21
#A6BD21 is a light, vivid yellow. Relative luminance 0.446; OKLCH L 75.5% C 0.168 H 118.4°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #A6BD21 |
|---|---|
| RGB | rgb(166, 189, 33) |
| HSL | hsl(69, 70%, 44%) |
| HSV | hsv(69, 83%, 74%) |
| CMYK | cmyk(12.2%, 0%, 82.5%, 25.9%) |
| CIE-LAB | lab(72.64, -26.42, 68.20) |
| CIE-LCH | lch(72.64, 73.14, 111.18°) |
| OKLab | oklab(75.51% -0.0799 0.1477) |
| OKLCH | oklch(75.51% 0.168 118.4) |
| XYZ | xyz(34.1988, 44.6123, 8.2480) |
| Luminance | 0.4461 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 0.85
Gross Green
#A0BF16
ΔE00 1.51
Bright Olive
#9CBB04
ΔE00 1.83
Snot
#ACBB0D
ΔE00 2.18
Sick Green
#9DB92C
ΔE00 2.27
Snot Green
#9DC100
ΔE00 2.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6BD21 #3821BD
analogous
#BD8621 #A6BD21 #58BD21
triadic
#A6BD21 #21A6BD #BD21A6
tetradic
#A6BD21 #21BD86 #3821BD #BD2158
square
#A6BD21 #21BD86 #3821BD #BD2158
split-complementary
#A6BD21 #2158BD #8621BD
monochromatic
#4A550F #788918 #A6BD21 #C6DD3E #D5E672
Accessibility & contrast
On white
2.12
#A6BD21 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.92
#A6BD21 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6BD21
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6BD21 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6BD21 | 1.00 | 2.12 | 9.92 | 9.92 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB200
Deuteranopia (green-blind)
#C8B332
Tritanopia (blue-blind)
#B1B2A1
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #a6bd21; /* rgb */ color: rgb(166, 189, 33); /* oklch */ color: oklch(75.5% 0.168 118.4);
Tailwind
colors: {
custom: {
50: '#c4d06d',
500: '#a6bd21',
950: '#000000',
},
}SCSS
$custom: #a6bd21; $custom-light: #c4d06d; $custom-dark: #000000;
JSON
{
"hex": "#a6bd21",
"rgb": {
"r": 166,
"g": 189,
"b": 33
},
"hsl": {
"h": 68.846,
"s": 70.27,
"l": 43.529
},
"oklch": {
"l": 0.7551,
"c": 0.16795,
"h": 118.4
},
"luminance": 0.44612
}Semantic roles & 50–950 ramp
primary
#A6BD21
secondary
#7B6DCD
accent
#3BED55
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B