#31AD2C#31AD2C
#31AD2C is a light, vivid green. Relative luminance 0.307; OKLCH L 65.6% C 0.197 H 142.5°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #31AD2C |
|---|---|
| RGB | rgb(49, 173, 44) |
| HSL | hsl(118, 59%, 43%) |
| HSV | hsv(118, 75%, 68%) |
| CMYK | cmyk(71.7%, 0%, 74.6%, 32.2%) |
| CIE-LAB | lab(62.27, -57.53, 53.21) |
| CIE-LCH | lch(62.27, 78.36, 137.24°) |
| OKLab | oklab(65.59% -0.1564 0.1202) |
| OKLCH | oklch(65.59% 0.197 142.5) |
| XYZ | xyz(16.6638, 30.7201, 7.4338) |
| Luminance | 0.3072 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Green (survey)
#15B01A
ΔE00 1.77
Kelly Green (survey)
#02AB2E
ΔE00 1.95
Medium Green
#39AD48
ΔE00 3.40
Leafy Green
#51B73B
ΔE00 3.75
Grass
#5CAC2D
ΔE00 4.01
Mid Green
#50A747
ΔE00 4.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31AD2C #A82CAD
analogous
#72AD2C #31AD2C #2CAD67
triadic
#31AD2C #2C31AD #AD2C31
tetradic
#31AD2C #2C72AD #A82CAD #AD672C
square
#31AD2C #2C72AD #A82CAD #AD672C
split-complementary
#31AD2C #672CAD #AD2C72
monochromatic
#154B13 #237C20 #31AD2C #4CD046 #7BDC77
Accessibility & contrast
On white
2.94
#31AD2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.14
#31AD2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31AD2C
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31AD2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31AD2C | 1.00 | 2.94 | 7.14 | 7.14 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19C12
Deuteranopia (green-blind)
#A3933A
Tritanopia (blue-blind)
#07A894
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #31ad2c; /* rgb */ color: rgb(49, 173, 44); /* oklch */ color: oklch(65.6% 0.197 142.5);
Tailwind
colors: {
custom: {
50: '#7cc76e',
500: '#31ad2c',
950: '#000000',
},
}SCSS
$custom: #31ad2c; $custom-light: #7cc76e; $custom-dark: #000000;
JSON
{
"hex": "#31ad2c",
"rgb": {
"r": 49,
"g": 173,
"b": 44
},
"hsl": {
"h": 117.674,
"s": 59.447,
"l": 42.549
},
"oklch": {
"l": 0.65585,
"c": 0.19727,
"h": 142.5
},
"luminance": 0.30722
}Semantic roles & 50–950 ramp
primary
#31AD2C
secondary
#C171C4
accent
#45E3DD
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1308
muted
#7C827B