#1F7D3A#1F7D3A
#1F7D3A is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.133 H 148.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7D3A |
|---|---|
| RGB | rgb(31, 125, 58) |
| HSL | hsl(137, 60%, 31%) |
| HSV | hsv(137, 75%, 49%) |
| CMYK | cmyk(75.2%, 0%, 53.6%, 51%) |
| CIE-LAB | lab(45.99, -42.20, 28.75) |
| CIE-LCH | lch(45.99, 51.07, 145.74°) |
| OKLab | oklab(52.03% -0.1136 0.0694) |
| OKLCH | oklch(52.03% 0.133 148.6) |
| XYZ | xyz(8.6617, 15.2630, 6.4917) |
| Luminance | 0.1526 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.06
Jungle Green
#048243
ΔE00 2.54
Tree Green
#2A7E19
ΔE00 5.81
Sea Green
#2E8B57
ΔE00 6.67
Green
#008000
ΔE00 7.13
Forestgreen (CSS)
#228B22
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7D3A #7D1F62
analogous
#337D1F #1F7D3A #1F7D69
triadic
#1F7D3A #3A1F7D #7D3A1F
tetradic
#1F7D3A #1F337D #7D1F62 #7D691F
square
#1F7D3A #1F337D #7D1F62 #7D691F
split-complementary
#1F7D3A #691F7D #7D1F33
monochromatic
#071B0C #134C23 #1F7D3A #2BAE51 #45D16E
Accessibility & contrast
On white
5.18
#1F7D3A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#1F7D3A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7D3A
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7D3A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7D3A | 1.00 | 5.18 | 4.05 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E7234
Deuteranopia (green-blind)
#736A3F
Tritanopia (blue-blind)
#007A6E
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #1f7d3a; /* rgb */ color: rgb(31, 125, 58); /* oklch */ color: oklch(52.0% 0.133 148.6);
Tailwind
colors: {
custom: {
50: '#6aa472',
500: '#1f7d3a',
950: '#000000',
},
}SCSS
$custom: #1f7d3a; $custom-light: #6aa472; $custom-dark: #000000;
JSON
{
"hex": "#1f7d3a",
"rgb": {
"r": 31,
"g": 125,
"b": 58
},
"hsl": {
"h": 137.234,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.52026,
"c": 0.13309,
"h": 148.6
},
"luminance": 0.15264
}Semantic roles & 50–950 ramp
primary
#1F7D3A
secondary
#B04892
accent
#44B6E3
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F08
muted
#7A7F7B