#1F722F#1F722F
#1F722F is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.128 H 146.5°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #1F722F |
|---|---|
| RGB | rgb(31, 114, 47) |
| HSL | hsl(132, 57%, 28%) |
| HSV | hsv(132, 73%, 45%) |
| CMYK | cmyk(72.8%, 0%, 58.8%, 55.3%) |
| CIE-LAB | lab(42.05, -39.68, 29.76) |
| CIE-LCH | lch(42.05, 49.59, 143.13°) |
| OKLab | oklab(48.72% -0.107 0.0709) |
| OKLCH | oklch(48.72% 0.128 146.5) |
| XYZ | xyz(7.0950, 12.5304, 4.7335) |
| Luminance | 0.1253 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.54
Jungle Green
#048243
ΔE00 6.08
Tree Green
#2A7E19
ΔE00 6.50
Darkgreen
#006400
ΔE00 6.74
Green
#008000
ΔE00 7.85
Pine
#2B5D34
ΔE00 8.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F722F #721F62
analogous
#38721F #1F722F #1F7258
triadic
#1F722F #2F1F72 #722F1F
tetradic
#1F722F #1F3872 #721F62 #72581F
square
#1F722F #1F3872 #721F62 #72581F
split-complementary
#1F722F #581F72 #721F38
monochromatic
#07180A #12421B #1F722F #2CA243 #40CB5B
Accessibility & contrast
On white
5.99
#1F722F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#1F722F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F722F
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F722F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F722F | 1.00 | 5.99 | 3.51 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746729
Deuteranopia (green-blind)
#6A6134
Tritanopia (blue-blind)
#006F63
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #1f722f; /* rgb */ color: rgb(31, 114, 47); /* oklch */ color: oklch(48.7% 0.128 146.5);
Tailwind
colors: {
custom: {
50: '#679b69',
500: '#1f722f',
950: '#000000',
},
}SCSS
$custom: #1f722f; $custom-light: #679b69; $custom-dark: #000000;
JSON
{
"hex": "#1f722f",
"rgb": {
"r": 31,
"g": 114,
"b": 47
},
"hsl": {
"h": 131.566,
"s": 57.241,
"l": 28.431
},
"oklch": {
"l": 0.48715,
"c": 0.12836,
"h": 146.5
},
"luminance": 0.12531
}Semantic roles & 50–950 ramp
primary
#1F722F
secondary
#A64794
accent
#47C3E0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A