#52A51F#52A51F
#52A51F is a light, vivid yellow-green. Relative luminance 0.288; OKLCH L 64.5% C 0.181 H 136.8°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #52A51F |
|---|---|
| RGB | rgb(82, 165, 31) |
| HSL | hsl(97, 68%, 38%) |
| HSV | hsv(97, 81%, 65%) |
| CMYK | cmyk(50.3%, 0%, 81.2%, 35.3%) |
| CIE-LAB | lab(60.61, -47.49, 56.18) |
| CIE-LCH | lch(60.61, 73.56, 130.20°) |
| OKLab | oklab(64.46% -0.1321 0.1242) |
| OKLCH | oklch(64.46% 0.181 136.8) |
| XYZ | xyz(17.1816, 28.8018, 5.9500) |
| Luminance | 0.2880 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 1.21
Grass
#5CAC2D
ΔE00 2.38
Leaf Green
#5CA904
ΔE00 2.67
Grassy Green
#419C03
ΔE00 3.34
Grass Green
#3F9B0B
ΔE00 3.67
Leaf
#71AA34
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52A51F #721FA5
analogous
#95A51F #52A51F #1FA52F
triadic
#52A51F #1F52A5 #A51F52
tetradic
#52A51F #1F95A5 #721FA5 #A52F1F
square
#52A51F #1F95A5 #721FA5 #A52F1F
split-complementary
#52A51F #2F1FA5 #A51F95
monochromatic
#1F3E0C #387115 #52A51F #6CD72A #90E15E
Accessibility & contrast
On white
3.11
#52A51F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.76
#52A51F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #52A51F
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52A51F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##52A51F | 1.00 | 3.11 | 6.76 | 6.76 |
| #FFFFFF | 3.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#A0902F
Tritanopia (blue-blind)
#4D9F8D
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #52a51f; /* rgb */ color: rgb(82, 165, 31); /* oklch */ color: oklch(64.5% 0.181 136.8);
Tailwind
colors: {
custom: {
50: '#8bc067',
500: '#52a51f',
950: '#000000',
},
}SCSS
$custom: #52a51f; $custom-light: #8bc067; $custom-dark: #000000;
JSON
{
"hex": "#52a51f",
"rgb": {
"r": 82,
"g": 165,
"b": 31
},
"hsl": {
"h": 97.164,
"s": 68.367,
"l": 38.431
},
"oklch": {
"l": 0.64465,
"c": 0.18131,
"h": 136.8
},
"luminance": 0.28803
}Semantic roles & 50–950 ramp
primary
#52A51F
secondary
#9D5BC5
accent
#3DEBA9
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A