#1F7D3E#1F7D3E
#1F7D3E is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.129 H 149.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7D3E |
|---|---|
| RGB | rgb(31, 125, 62) |
| HSL | hsl(140, 60%, 31%) |
| HSV | hsv(140, 75%, 49%) |
| CMYK | cmyk(75.2%, 0%, 50.4%, 51%) |
| CIE-LAB | lab(46.05, -41.54, 26.68) |
| CIE-LCH | lch(46.05, 49.37, 147.29°) |
| OKLab | oklab(52.09% -0.1117 0.065) |
| OKLCH | oklch(52.09% 0.129 149.8) |
| XYZ | xyz(8.7675, 15.3053, 7.0487) |
| Luminance | 0.1531 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.74
Jungle Green
#048243
ΔE00 2.14
Sea Green
#2E8B57
ΔE00 6.19
Tree Green
#2A7E19
ΔE00 6.63
Dark Sea Green
#11875D
ΔE00 7.03
Forestgreen (CSS)
#228B22
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7D3E #7D1F5E
analogous
#2F7D1F #1F7D3E #1F7D6D
triadic
#1F7D3E #3E1F7D #7D3E1F
tetradic
#1F7D3E #1F2F7D #7D1F5E #7D6D1F
square
#1F7D3E #1F2F7D #7D1F5E #7D6D1F
split-complementary
#1F7D3E #6D1F7D #7D1F2F
monochromatic
#071B0D #134C26 #1F7D3E #2BAE56 #45D173
Accessibility & contrast
On white
5.17
#1F7D3E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#1F7D3E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7D3E
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7D3E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7D3E | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E7239
Deuteranopia (green-blind)
#736A43
Tritanopia (blue-blind)
#007B6E
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #1f7d3e; /* rgb */ color: rgb(31, 125, 62); /* oklch */ color: oklch(52.1% 0.129 149.8);
Tailwind
colors: {
custom: {
50: '#6aa474',
500: '#1f7d3e',
950: '#000000',
},
}SCSS
$custom: #1f7d3e; $custom-light: #6aa474; $custom-dark: #000000;
JSON
{
"hex": "#1f7d3e",
"rgb": {
"r": 31,
"g": 125,
"b": 62
},
"hsl": {
"h": 139.787,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.52092,
"c": 0.12926,
"h": 149.8
},
"luminance": 0.15306
}Semantic roles & 50–950 ramp
primary
#1F7D3E
secondary
#B0488E
accent
#44AFE3
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B