#1F7112#1F7112
#1F7112 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.1% C 0.148 H 141.3°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7112 |
|---|---|
| RGB | rgb(31, 113, 18) |
| HSL | hsl(112, 73%, 26%) |
| HSV | hsv(112, 84%, 44%) |
| CMYK | cmyk(72.6%, 0%, 84.1%, 55.7%) |
| CIE-LAB | lab(41.44, -42.31, 41.68) |
| CIE-LCH | lch(41.44, 59.39, 135.43°) |
| OKLab | oklab(48.14% -0.1156 0.0926) |
| OKLCH | oklch(48.14% 0.148 141.3) |
| XYZ | xyz(6.5790, 12.1445, 2.5696) |
| Luminance | 0.1215 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.55
Tree Green
#2A7E19
ΔE00 4.58
Green
#008000
ΔE00 5.46
Darkish Green
#287C37
ΔE00 5.96
Dark Grass Green
#388004
ΔE00 6.40
Deep Green
#02590F
ΔE00 8.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7112 #641271
analogous
#4E7112 #1F7112 #127134
triadic
#1F7112 #121F71 #71121F
tetradic
#1F7112 #124E71 #641271 #713412
square
#1F7112 #124E71 #641271 #713412
split-complementary
#1F7112 #341271 #71124E
monochromatic
#071A04 #113C0A #1F7112 #2DA61A #3CDB23
Accessibility & contrast
On white
6.12
#1F7112 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#1F7112 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7112
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7112 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7112 | 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)
#746600
Deuteranopia (green-blind)
#6B5F1E
Tritanopia (blue-blind)
#0B6D60
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #1f7112; /* rgb */ color: rgb(31, 113, 18); /* oklch */ color: oklch(48.1% 0.148 141.3);
Tailwind
colors: {
custom: {
50: '#699b59',
500: '#1f7112',
950: '#000000',
},
}SCSS
$custom: #1f7112; $custom-light: #699b59; $custom-dark: #000000;
JSON
{
"hex": "#1f7112",
"rgb": {
"r": 31,
"g": 113,
"b": 18
},
"hsl": {
"h": 111.789,
"s": 72.519,
"l": 25.686
},
"oklch": {
"l": 0.48135,
"c": 0.14806,
"h": 141.3
},
"luminance": 0.12145
}Semantic roles & 50–950 ramp
primary
#1F7112
secondary
#9837A8
accent
#39EFD6
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79