#A5C12A#A5C12A
#A5C12A is a light, vivid yellow-green. Relative luminance 0.463; OKLCH L 76.4% C 0.169 H 120.1°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #A5C12A |
|---|---|
| RGB | rgb(165, 193, 42) |
| HSL | hsl(71, 64%, 46%) |
| HSV | hsv(71, 78%, 76%) |
| CMYK | cmyk(14.5%, 0%, 78.2%, 24.3%) |
| CIE-LAB | lab(73.74, -28.43, 66.70) |
| CIE-LCH | lch(73.74, 72.51, 113.08°) |
| OKLab | oklab(76.4% -0.0847 0.1461) |
| OKLCH | oklch(76.4% 0.169 120.1) |
| XYZ | xyz(35.0056, 46.3066, 9.2840) |
| Luminance | 0.4631 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pea
#A4BF20
ΔE00 0.81
Gross Green
#A0BF16
ΔE00 1.21
Snot Green
#9DC100
ΔE00 1.93
Bright Olive
#9CBB04
ΔE00 2.20
Sick Green
#9DB92C
ΔE00 2.32
Snot
#ACBB0D
ΔE00 3.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5C12A #462AC1
analogous
#C1912A #A5C12A #59C12A
triadic
#A5C12A #2AA5C1 #C12AA5
tetradic
#A5C12A #2AC191 #462AC1 #C12A59
square
#A5C12A #2AC191 #462AC1 #C12A59
split-complementary
#A5C12A #2A59C1 #912AC1
monochromatic
#4F5C14 #7A8F1F #A5C12A #BFD94F #D2E482
Accessibility & contrast
On white
2.05
#A5C12A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.26
#A5C12A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5C12A
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5C12A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5C12A | 1.00 | 2.05 | 10.26 | 10.26 |
| #FFFFFF | 2.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEB500
Deuteranopia (green-blind)
#CAB639
Tritanopia (blue-blind)
#AFB6A5
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #a5c12a; /* rgb */ color: rgb(165, 193, 42); /* oklch */ color: oklch(76.4% 0.169 120.1);
Tailwind
colors: {
custom: {
50: '#c4d371',
500: '#a5c12a',
950: '#000000',
},
}SCSS
$custom: #a5c12a; $custom-light: #c4d371; $custom-dark: #000000;
JSON
{
"hex": "#a5c12a",
"rgb": {
"r": 165,
"g": 193,
"b": 42
},
"hsl": {
"h": 71.126,
"s": 64.255,
"l": 46.078
},
"oklch": {
"l": 0.76397,
"c": 0.16887,
"h": 120.1
},
"luminance": 0.46306
}Semantic roles & 50–950 ramp
primary
#A5C12A
secondary
#897ACD
accent
#41E75F
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B