#A5C226#A5C226
#A5C226 is a light, vivid yellow-green. Relative luminance 0.467; OKLCH L 76.6% C 0.172 H 120.3°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).
Color values
| HEX | #A5C226 |
|---|---|
| RGB | rgb(165, 194, 38) |
| HSL | hsl(71, 67%, 45%) |
| HSV | hsv(71, 80%, 76%) |
| CMYK | cmyk(14.9%, 0%, 80.4%, 23.9%) |
| CIE-LAB | lab(74.01, -29.06, 68.07) |
| CIE-LCH | lch(74.01, 74.02, 113.12°) |
| OKLab | oklab(76.61% -0.0867 0.1483) |
| OKLCH | oklch(76.61% 0.172 120.3) |
| XYZ | xyz(35.1594, 46.7230, 8.9995) |
| Luminance | 0.4672 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pea
#A4BF20
ΔE00 0.86
Gross Green
#A0BF16
ΔE00 1.11
Snot Green
#9DC100
ΔE00 1.68
Bright Olive
#9CBB04
ΔE00 2.21
Sick Green
#9DB92C
ΔE00 2.64
Snot
#ACBB0D
ΔE00 3.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5C226 #4326C2
analogous
#C29126 #A5C226 #57C226
triadic
#A5C226 #26A5C2 #C226A5
tetradic
#A5C226 #26C291 #4326C2 #C22657
square
#A5C226 #26C291 #4326C2 #C22657
split-complementary
#A5C226 #2657C2 #9126C2
monochromatic
#4E5C12 #798F1C #A5C226 #C0DB4A #D2E67D
Accessibility & contrast
On white
2.03
#A5C226 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.34
#A5C226 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5C226
10.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5C226 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5C226 | 1.00 | 2.03 | 10.34 | 10.34 |
| #FFFFFF | 2.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFB600
Deuteranopia (green-blind)
#CBB636
Tritanopia (blue-blind)
#AFB7A6
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #a5c226; /* rgb */ color: rgb(165, 194, 38); /* oklch */ color: oklch(76.6% 0.172 120.3);
Tailwind
colors: {
custom: {
50: '#c4d46f',
500: '#a5c226',
950: '#000000',
},
}SCSS
$custom: #a5c226; $custom-light: #c4d46f; $custom-dark: #000000;
JSON
{
"hex": "#a5c226",
"rgb": {
"r": 165,
"g": 194,
"b": 38
},
"hsl": {
"h": 71.154,
"s": 67.241,
"l": 45.49
},
"oklch": {
"l": 0.76608,
"c": 0.17183,
"h": 120.3
},
"luminance": 0.46723
}Semantic roles & 50–950 ramp
primary
#A5C226
secondary
#8676CE
accent
#3EEA5E
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131408
muted
#82837B