#1F7622#1F7622
#1F7622 is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.7% C 0.144 H 143.5°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7622 |
|---|---|
| RGB | rgb(31, 118, 34) |
| HSL | hsl(122, 58%, 29%) |
| HSV | hsv(122, 74%, 46%) |
| CMYK | cmyk(73.7%, 0%, 71.2%, 53.7%) |
| CIE-LAB | lab(43.30, -42.78, 37.43) |
| CIE-LCH | lch(43.30, 56.85, 138.81°) |
| OKLab | oklab(49.71% -0.116 0.086) |
| OKLCH | oklch(49.71% 0.144 143.5) |
| XYZ | xyz(7.3318, 13.3629, 3.7060) |
| Luminance | 0.1336 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.61
Tree Green
#2A7E19
ΔE00 3.65
Green
#008000
ΔE00 4.93
Dark Grass Green
#388004
ΔE00 6.24
Darkgreen
#006400
ΔE00 6.43
Jungle Green
#048243
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7622 #761F73
analogous
#48761F #1F7622 #1F764E
triadic
#1F7622 #221F76 #76221F
tetradic
#1F7622 #1F4876 #761F73 #764E1F
square
#1F7622 #1F4876 #761F73 #764E1F
split-complementary
#1F7622 #4E1F76 #761F48
monochromatic
#061807 #124614 #1F7622 #2CA630 #42CD47
Accessibility & contrast
On white
5.72
#1F7622 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#1F7622 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7622
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7622 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7622 | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786B16
Deuteranopia (green-blind)
#6E642A
Tritanopia (blue-blind)
#017365
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #1f7622; /* rgb */ color: rgb(31, 118, 34); /* oklch */ color: oklch(49.7% 0.144 143.5);
Tailwind
colors: {
custom: {
50: '#699e62',
500: '#1f7622',
950: '#000000',
},
}SCSS
$custom: #1f7622; $custom-light: #699e62; $custom-dark: #000000;
JSON
{
"hex": "#1f7622",
"rgb": {
"r": 31,
"g": 118,
"b": 34
},
"hsl": {
"h": 122.069,
"s": 58.389,
"l": 29.216
},
"oklch": {
"l": 0.49714,
"c": 0.14438,
"h": 143.5
},
"luminance": 0.13364
}Semantic roles & 50–950 ramp
primary
#1F7622
secondary
#AA47A6
accent
#46DCE2
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79