#1F7117#1F7117
#1F7117 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.2% C 0.145 H 141.9°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7117 |
|---|---|
| RGB | rgb(31, 113, 23) |
| HSL | hsl(115, 66%, 27%) |
| HSV | hsv(115, 80%, 44%) |
| CMYK | cmyk(72.6%, 0%, 79.6%, 55.7%) |
| CIE-LAB | lab(41.47, -41.96, 40.00) |
| CIE-LCH | lch(41.47, 57.97, 136.38°) |
| OKLab | oklab(48.17% -0.1144 0.0898) |
| OKLCH | oklch(48.17% 0.145 141.9) |
| XYZ | xyz(6.6245, 12.1627, 2.8090) |
| Luminance | 0.1216 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.61
Tree Green
#2A7E19
ΔE00 4.68
Darkish Green
#287C37
ΔE00 5.53
Green
#008000
ΔE00 5.67
Dark Grass Green
#388004
ΔE00 6.68
Deep Green
#02590F
ΔE00 8.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7117 #691771
analogous
#4C7117 #1F7117 #17713C
triadic
#1F7117 #171F71 #71171F
tetradic
#1F7117 #174C71 #691771 #713C17
square
#1F7117 #174C71 #691771 #713C17
split-complementary
#1F7117 #3C1771 #71174C
monochromatic
#071905 #113E0D #1F7117 #2DA421 #3DD42E
Accessibility & contrast
On white
6.12
#1F7117 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#1F7117 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7117
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7117 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7117 | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746603
Deuteranopia (green-blind)
#6A5F21
Tritanopia (blue-blind)
#0A6D60
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #1f7117; /* rgb */ color: rgb(31, 113, 23); /* oklch */ color: oklch(48.2% 0.145 141.9);
Tailwind
colors: {
custom: {
50: '#689b5b',
500: '#1f7117',
950: '#000000',
},
}SCSS
$custom: #1f7117; $custom-light: #689b5b; $custom-dark: #000000;
JSON
{
"hex": "#1f7117",
"rgb": {
"r": 31,
"g": 113,
"b": 23
},
"hsl": {
"h": 114.667,
"s": 66.176,
"l": 26.667
},
"oklch": {
"l": 0.48168,
"c": 0.14541,
"h": 141.9
},
"luminance": 0.12163
}Semantic roles & 50–950 ramp
primary
#1F7117
secondary
#9D3DA7
accent
#3FE9DA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79