#1F772C#1F772C
#1F772C is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.1% C 0.138 H 145.4°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #1F772C |
|---|---|
| RGB | rgb(31, 119, 44) |
| HSL | hsl(129, 59%, 29%) |
| HSV | hsv(129, 74%, 47%) |
| CMYK | cmyk(73.9%, 0%, 63%, 53.3%) |
| CIE-LAB | lab(43.75, -41.98, 33.27) |
| CIE-LCH | lch(43.75, 53.57, 141.61°) |
| OKLab | oklab(50.11% -0.1134 0.0782) |
| OKLCH | oklch(50.11% 0.138 145.4) |
| XYZ | xyz(7.6160, 13.6660, 4.6188) |
| Luminance | 0.1367 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.29
Tree Green
#2A7E19
ΔE00 4.58
Jungle Green
#048243
ΔE00 5.30
Green
#008000
ΔE00 5.95
Dark Grass Green
#388004
ΔE00 7.29
Darkgreen
#006400
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F772C #771F6A
analogous
#3E771F #1F772C #1F7758
triadic
#1F772C #2C1F77 #772C1F
tetradic
#1F772C #1F3E77 #771F6A #77581F
square
#1F772C #1F3E77 #771F6A #77581F
split-complementary
#1F772C #581F77 #771F3E
monochromatic
#061809 #12461A #1F772C #2CA83E #43CE57
Accessibility & contrast
On white
5.62
#1F772C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#1F772C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F772C
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F772C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F772C | 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)
#796C24
Deuteranopia (green-blind)
#6F6532
Tritanopia (blue-blind)
#007467
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #1f772c; /* rgb */ color: rgb(31, 119, 44); /* oklch */ color: oklch(50.1% 0.138 145.4);
Tailwind
colors: {
custom: {
50: '#699f68',
500: '#1f772c',
950: '#000000',
},
}SCSS
$custom: #1f772c; $custom-light: #699f68; $custom-dark: #000000;
JSON
{
"hex": "#1f772c",
"rgb": {
"r": 31,
"g": 119,
"b": 44
},
"hsl": {
"h": 128.864,
"s": 58.667,
"l": 29.412
},
"oklch": {
"l": 0.50114,
"c": 0.13773,
"h": 145.4
},
"luminance": 0.13667
}Semantic roles & 50–950 ramp
primary
#1F772C
secondary
#AB479C
accent
#46CBE2
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A