#1F772F#1F772F
#1F772F is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.2% C 0.135 H 146.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #1F772F |
|---|---|
| RGB | rgb(31, 119, 47) |
| HSL | hsl(131, 59%, 29%) |
| HSV | hsv(131, 74%, 47%) |
| CMYK | cmyk(73.9%, 0%, 60.5%, 53.3%) |
| CIE-LAB | lab(43.78, -41.58, 31.81) |
| CIE-LCH | lch(43.78, 52.35, 142.59°) |
| OKLab | oklab(50.15% -0.1122 0.0754) |
| OKLCH | oklch(50.15% 0.135 146.1) |
| XYZ | xyz(7.6744, 13.6893, 4.9266) |
| Luminance | 0.1369 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.03
Jungle Green
#048243
ΔE00 4.94
Tree Green
#2A7E19
ΔE00 5.04
Green
#008000
ΔE00 6.42
Darkgreen
#006400
ΔE00 7.64
Dark Grass Green
#388004
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F772F #771F67
analogous
#3B771F #1F772F #1F775B
triadic
#1F772F #2F1F77 #772F1F
tetradic
#1F772F #1F3B77 #771F67 #775B1F
square
#1F772F #1F3B77 #771F67 #775B1F
split-complementary
#1F772F #5B1F77 #771F3B
monochromatic
#06180A #12461C #1F772F #2CA842 #43CE5C
Accessibility & contrast
On white
5.62
#1F772F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#1F772F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F772F
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F772F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F772F | 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)
#796C28
Deuteranopia (green-blind)
#6E6535
Tritanopia (blue-blind)
#007467
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #1f772f; /* rgb */ color: rgb(31, 119, 47); /* oklch */ color: oklch(50.2% 0.135 146.1);
Tailwind
colors: {
custom: {
50: '#699f6a',
500: '#1f772f',
950: '#000000',
},
}SCSS
$custom: #1f772f; $custom-light: #699f6a; $custom-dark: #000000;
JSON
{
"hex": "#1f772f",
"rgb": {
"r": 31,
"g": 119,
"b": 47
},
"hsl": {
"h": 130.909,
"s": 58.667,
"l": 29.412
},
"oklch": {
"l": 0.50153,
"c": 0.13512,
"h": 146.1
},
"luminance": 0.1369
}Semantic roles & 50–950 ramp
primary
#1F772F
secondary
#AB4798
accent
#46C6E2
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A