#1F7116#1F7116
#1F7116 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.2% C 0.146 H 141.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7116 |
|---|---|
| RGB | rgb(31, 113, 22) |
| HSL | hsl(114, 67%, 26%) |
| HSV | hsv(114, 81%, 44%) |
| CMYK | cmyk(72.6%, 0%, 80.5%, 55.7%) |
| CIE-LAB | lab(41.47, -42.04, 40.35) |
| CIE-LCH | lch(41.47, 58.27, 136.17°) |
| OKLab | oklab(48.16% -0.1146 0.0904) |
| OKLCH | oklch(48.16% 0.146 141.7) |
| XYZ | xyz(6.6147, 12.1588, 2.7572) |
| Luminance | 0.1216 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.59
Tree Green
#2A7E19
ΔE00 4.65
Green
#008000
ΔE00 5.62
Darkish Green
#287C37
ΔE00 5.62
Dark Grass Green
#388004
ΔE00 6.62
Deep Green
#02590F
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7116 #681671
analogous
#4D7116 #1F7116 #16713B
triadic
#1F7116 #161F71 #71161F
tetradic
#1F7116 #164D71 #681671 #713B16
square
#1F7116 #164D71 #681671 #713B16
split-complementary
#1F7116 #3B1671 #71164D
monochromatic
#071A05 #113E0C #1F7116 #2DA420 #3CD62C
Accessibility & contrast
On white
6.12
#1F7116 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#1F7116 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7116
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7116 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7116 | 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)
#746601
Deuteranopia (green-blind)
#6A5F20
Tritanopia (blue-blind)
#0A6D60
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #1f7116; /* rgb */ color: rgb(31, 113, 22); /* oklch */ color: oklch(48.2% 0.146 141.7);
Tailwind
colors: {
custom: {
50: '#699b5b',
500: '#1f7116',
950: '#000000',
},
}SCSS
$custom: #1f7116; $custom-light: #699b5b; $custom-dark: #000000;
JSON
{
"hex": "#1f7116",
"rgb": {
"r": 31,
"g": 113,
"b": 22
},
"hsl": {
"h": 114.066,
"s": 67.407,
"l": 26.471
},
"oklch": {
"l": 0.48161,
"c": 0.14598,
"h": 141.7
},
"luminance": 0.12159
}Semantic roles & 50–950 ramp
primary
#1F7116
secondary
#9C3CA7
accent
#3EEAD9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79