#31AC2C#31AC2C
#31AC2C is a light, vivid green. Relative luminance 0.303; OKLCH L 65.3% C 0.196 H 142.5°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #31AC2C |
|---|---|
| RGB | rgb(49, 172, 44) |
| HSL | hsl(118, 59%, 42%) |
| HSV | hsv(118, 74%, 67%) |
| CMYK | cmyk(71.5%, 0%, 74.4%, 32.5%) |
| CIE-LAB | lab(61.94, -57.20, 52.88) |
| CIE-LCH | lch(61.94, 77.90, 137.25°) |
| OKLab | oklab(65.32% -0.1555 0.1195) |
| OKLCH | oklch(65.32% 0.196 142.5) |
| XYZ | xyz(16.4728, 30.3381, 7.3701) |
| Luminance | 0.3034 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Kelly Green (survey)
#02AB2E
ΔE00 1.83
Green (survey)
#15B01A
ΔE00 1.95
Medium Green
#39AD48
ΔE00 3.36
Leafy Green
#51B73B
ΔE00 3.99
Grass
#5CAC2D
ΔE00 4.05
Mid Green
#50A747
ΔE00 4.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31AC2C #A72CAC
analogous
#71AC2C #31AC2C #2CAC67
triadic
#31AC2C #2C31AC #AC2C31
tetradic
#31AC2C #2C71AC #A72CAC #AC672C
square
#31AC2C #2C71AC #A72CAC #AC672C
split-complementary
#31AC2C #672CAC #AC2C71
monochromatic
#154B13 #237B20 #31AC2C #4BD046 #7ADC76
Accessibility & contrast
On white
2.97
#31AC2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.07
#31AC2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31AC2C
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31AC2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31AC2C | 1.00 | 2.97 | 7.07 | 7.07 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09C13
Deuteranopia (green-blind)
#A2923A
Tritanopia (blue-blind)
#08A793
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #31ac2c; /* rgb */ color: rgb(49, 172, 44); /* oklch */ color: oklch(65.3% 0.196 142.5);
Tailwind
colors: {
custom: {
50: '#7cc66e',
500: '#31ac2c',
950: '#000000',
},
}SCSS
$custom: #31ac2c; $custom-light: #7cc66e; $custom-dark: #000000;
JSON
{
"hex": "#31ac2c",
"rgb": {
"r": 49,
"g": 172,
"b": 44
},
"hsl": {
"h": 117.656,
"s": 59.259,
"l": 42.353
},
"oklch": {
"l": 0.65315,
"c": 0.19613,
"h": 142.5
},
"luminance": 0.3034
}Semantic roles & 50–950 ramp
primary
#31AC2C
secondary
#C170C4
accent
#45E2DC
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1308
muted
#7C827B