#1F772D#1F772D
#1F772D is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.1% C 0.137 H 145.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #1F772D |
|---|---|
| RGB | rgb(31, 119, 45) |
| HSL | hsl(130, 59%, 29%) |
| HSV | hsv(130, 74%, 47%) |
| CMYK | cmyk(73.9%, 0%, 62.2%, 53.3%) |
| CIE-LAB | lab(43.76, -41.85, 32.78) |
| CIE-LCH | lch(43.76, 53.16, 141.93°) |
| OKLab | oklab(50.13% -0.113 0.0773) |
| OKLCH | oklch(50.13% 0.137 145.6) |
| XYZ | xyz(7.6350, 13.6736, 4.7190) |
| Luminance | 0.1367 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.19
Tree Green
#2A7E19
ΔE00 4.73
Jungle Green
#048243
ΔE00 5.18
Green
#008000
ΔE00 6.10
Dark Grass Green
#388004
ΔE00 7.44
Darkgreen
#006400
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F772D #771F69
analogous
#3D771F #1F772D #1F7759
triadic
#1F772D #2D1F77 #772D1F
tetradic
#1F772D #1F3D77 #771F69 #77591F
square
#1F772D #1F3D77 #771F69 #77591F
split-complementary
#1F772D #591F77 #771F3D
monochromatic
#061809 #12461B #1F772D #2CA83F #43CE59
Accessibility & contrast
On white
5.62
#1F772D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#1F772D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F772D
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F772D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F772D | 1.00 | 5.62 | 3.73 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796C25
Deuteranopia (green-blind)
#6F6533
Tritanopia (blue-blind)
#007467
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #1f772d; /* rgb */ color: rgb(31, 119, 45); /* oklch */ color: oklch(50.1% 0.137 145.6);
Tailwind
colors: {
custom: {
50: '#699f69',
500: '#1f772d',
950: '#000000',
},
}SCSS
$custom: #1f772d; $custom-light: #699f69; $custom-dark: #000000;
JSON
{
"hex": "#1f772d",
"rgb": {
"r": 31,
"g": 119,
"b": 45
},
"hsl": {
"h": 129.545,
"s": 58.667,
"l": 29.412
},
"oklch": {
"l": 0.50126,
"c": 0.13687,
"h": 145.6
},
"luminance": 0.13674
}Semantic roles & 50–950 ramp
primary
#1F772D
secondary
#AB479B
accent
#46C9E2
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A