#1F772E#1F772E
#1F772E is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.1% C 0.136 H 145.9°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #1F772E |
|---|---|
| RGB | rgb(31, 119, 46) |
| HSL | hsl(130, 59%, 29%) |
| HSV | hsv(130, 74%, 47%) |
| CMYK | cmyk(73.9%, 0%, 61.3%, 53.3%) |
| CIE-LAB | lab(43.77, -41.72, 32.30) |
| CIE-LCH | lch(43.77, 52.76, 142.25°) |
| OKLab | oklab(50.14% -0.1126 0.0763) |
| OKLCH | oklch(50.14% 0.136 145.9) |
| XYZ | xyz(7.6545, 13.6814, 4.8216) |
| Luminance | 0.1368 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.10
Tree Green
#2A7E19
ΔE00 4.88
Jungle Green
#048243
ΔE00 5.06
Green
#008000
ΔE00 6.26
Darkgreen
#006400
ΔE00 7.54
Dark Grass Green
#388004
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F772E #771F68
analogous
#3C771F #1F772E #1F775A
triadic
#1F772E #2E1F77 #772E1F
tetradic
#1F772E #1F3C77 #771F68 #775A1F
square
#1F772E #1F3C77 #771F68 #775A1F
split-complementary
#1F772E #5A1F77 #771F3C
monochromatic
#061809 #12461B #1F772E #2CA841 #43CE5A
Accessibility & contrast
On white
5.62
#1F772E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#1F772E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F772E
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F772E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F772E | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796C26
Deuteranopia (green-blind)
#6F6534
Tritanopia (blue-blind)
#007467
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #1f772e; /* rgb */ color: rgb(31, 119, 46); /* oklch */ color: oklch(50.1% 0.136 145.9);
Tailwind
colors: {
custom: {
50: '#699f69',
500: '#1f772e',
950: '#000000',
},
}SCSS
$custom: #1f772e; $custom-light: #699f69; $custom-dark: #000000;
JSON
{
"hex": "#1f772e",
"rgb": {
"r": 31,
"g": 119,
"b": 46
},
"hsl": {
"h": 130.227,
"s": 58.667,
"l": 29.412
},
"oklch": {
"l": 0.5014,
"c": 0.136,
"h": 145.9
},
"luminance": 0.13682
}Semantic roles & 50–950 ramp
primary
#1F772E
secondary
#AB479A
accent
#46C7E2
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A