#1F772B#1F772B
#1F772B is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.1% C 0.139 H 145.2°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #1F772B |
|---|---|
| RGB | rgb(31, 119, 43) |
| HSL | hsl(128, 59%, 29%) |
| HSV | hsv(128, 74%, 47%) |
| CMYK | cmyk(73.9%, 0%, 63.9%, 53.3%) |
| CIE-LAB | lab(43.74, -42.11, 33.74) |
| CIE-LCH | lch(43.74, 53.96, 141.30°) |
| OKLab | oklab(50.1% -0.1137 0.0792) |
| OKLCH | oklch(50.1% 0.139 145.2) |
| XYZ | xyz(7.5974, 13.6585, 4.5210) |
| Luminance | 0.1366 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.39
Tree Green
#2A7E19
ΔE00 4.43
Jungle Green
#048243
ΔE00 5.42
Green
#008000
ΔE00 5.80
Dark Grass Green
#388004
ΔE00 7.15
Darkgreen
#006400
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F772B #771F6B
analogous
#3F771F #1F772B #1F7757
triadic
#1F772B #2B1F77 #772B1F
tetradic
#1F772B #1F3F77 #771F6B #77571F
square
#1F772B #1F3F77 #771F6B #77571F
split-complementary
#1F772B #571F77 #771F3F
monochromatic
#061809 #124619 #1F772B #2CA83D #43CE56
Accessibility & contrast
On white
5.63
#1F772B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#1F772B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F772B
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F772B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F772B | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796C23
Deuteranopia (green-blind)
#6F6531
Tritanopia (blue-blind)
#007467
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #1f772b; /* rgb */ color: rgb(31, 119, 43); /* oklch */ color: oklch(50.1% 0.139 145.2);
Tailwind
colors: {
custom: {
50: '#699f67',
500: '#1f772b',
950: '#000000',
},
}SCSS
$custom: #1f772b; $custom-light: #699f67; $custom-dark: #000000;
JSON
{
"hex": "#1f772b",
"rgb": {
"r": 31,
"g": 119,
"b": 43
},
"hsl": {
"h": 128.182,
"s": 58.667,
"l": 29.412
},
"oklch": {
"l": 0.50101,
"c": 0.13858,
"h": 145.2
},
"luminance": 0.13659
}Semantic roles & 50–950 ramp
primary
#1F772B
secondary
#AB479D
accent
#46CDE2
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A