#A7C21F#A7C21F
#A7C21F is a light, vivid yellow. Relative luminance 0.469; OKLCH L 76.7% C 0.174 H 119.5°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #A7C21F |
|---|---|
| RGB | rgb(167, 194, 31) |
| HSL | hsl(70, 72%, 44%) |
| HSV | hsv(70, 84%, 76%) |
| CMYK | cmyk(13.9%, 0%, 84%, 23.9%) |
| CIE-LAB | lab(74.12, -28.47, 69.98) |
| CIE-LCH | lch(74.12, 75.55, 112.14°) |
| OKLab | oklab(76.72% -0.0857 0.1512) |
| OKLCH | oklch(76.72% 0.174 119.5) |
| XYZ | xyz(35.4763, 46.8982, 8.4794) |
| Luminance | 0.4690 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 0.85
Gross Green
#A0BF16
ΔE00 1.24
Snot Green
#9DC100
ΔE00 1.78
Bright Olive
#9CBB04
ΔE00 2.23
Snot
#ACBB0D
ΔE00 2.99
Sick Green
#9DB92C
ΔE00 3.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7C21F #3A1FC2
analogous
#C28C1F #A7C21F #55C21F
triadic
#A7C21F #1FA7C2 #C21FA7
tetradic
#A7C21F #1FC28C #3A1FC2 #C21F55
square
#A7C21F #1FC28C #3A1FC2 #C21F55
split-complementary
#A7C21F #1F55C2 #8C1FC2
monochromatic
#4C580E #7A8D17 #A7C21F #C5E03E #D5E973
Accessibility & contrast
On white
2.02
#A7C21F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.38
#A7C21F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7C21F
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7C21F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7C21F | 1.00 | 2.02 | 10.38 | 10.38 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFB600
Deuteranopia (green-blind)
#CCB732
Tritanopia (blue-blind)
#B1B7A6
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #a7c21f; /* rgb */ color: rgb(167, 194, 31); /* oklch */ color: oklch(76.7% 0.174 119.5);
Tailwind
colors: {
custom: {
50: '#c5d46d',
500: '#a7c21f',
950: '#000000',
},
}SCSS
$custom: #a7c21f; $custom-light: #c5d46d; $custom-dark: #000000;
JSON
{
"hex": "#a7c21f",
"rgb": {
"r": 167,
"g": 194,
"b": 31
},
"hsl": {
"h": 69.939,
"s": 72.444,
"l": 44.118
},
"oklch": {
"l": 0.76725,
"c": 0.17379,
"h": 119.5
},
"luminance": 0.46898
}Semantic roles & 50–950 ramp
primary
#A7C21F
secondary
#7E6DCF
accent
#39EF57
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131408
muted
#82827B