#A9C21F#A9C21F
#A9C21F is a light, vivid yellow. Relative luminance 0.471; OKLCH L 76.9% C 0.173 H 118.9°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #A9C21F |
|---|---|
| RGB | rgb(169, 194, 31) |
| HSL | hsl(69, 72%, 44%) |
| HSV | hsv(69, 84%, 76%) |
| CMYK | cmyk(12.9%, 0%, 84%, 23.9%) |
| CIE-LAB | lab(74.27, -27.64, 70.15) |
| CIE-LCH | lch(74.27, 75.40, 111.50°) |
| OKLab | oklab(76.87% -0.0835 0.1515) |
| OKLCH | oklch(76.87% 0.173 118.9) |
| XYZ | xyz(35.9022, 47.1178, 8.4994) |
| Luminance | 0.4712 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.07
Gross Green
#A0BF16
ΔE00 1.58
Snot Green
#9DC100
ΔE00 2.14
Bright Olive
#9CBB04
ΔE00 2.46
Snot
#ACBB0D
ΔE00 2.68
Bile
#B5C306
ΔE00 2.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A9C21F #381FC2
analogous
#C2891F #A9C21F #58C21F
triadic
#A9C21F #1FA9C2 #C21FA9
tetradic
#A9C21F #1FC289 #381FC2 #C21F58
square
#A9C21F #1FC289 #381FC2 #C21F58
split-complementary
#A9C21F #1F58C2 #891FC2
monochromatic
#4D580E #7B8D17 #A9C21F #C7E03E #D7E973
Accessibility & contrast
On white
2.01
#A9C21F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.42
#A9C21F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A9C21F
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A9C21F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A9C21F | 1.00 | 2.01 | 10.42 | 10.42 |
| #FFFFFF | 2.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFB700
Deuteranopia (green-blind)
#CCB732
Tritanopia (blue-blind)
#B4B7A6
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #a9c21f; /* rgb */ color: rgb(169, 194, 31); /* oklch */ color: oklch(76.9% 0.173 118.9);
Tailwind
colors: {
custom: {
50: '#c7d46d',
500: '#a9c21f',
950: '#000000',
},
}SCSS
$custom: #a9c21f; $custom-light: #c7d46d; $custom-dark: #000000;
JSON
{
"hex": "#a9c21f",
"rgb": {
"r": 169,
"g": 194,
"b": 31
},
"hsl": {
"h": 69.202,
"s": 72.444,
"l": 44.118
},
"oklch": {
"l": 0.76874,
"c": 0.173,
"h": 118.9
},
"luminance": 0.47118
}Semantic roles & 50–950 ramp
primary
#A9C21F
secondary
#7C6DCF
accent
#39EF55
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141408
muted
#82827B