#1F7111#1F7111
#1F7111 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.1% C 0.149 H 141.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7111 |
|---|---|
| RGB | rgb(31, 113, 17) |
| HSL | hsl(111, 74%, 25%) |
| HSV | hsv(111, 85%, 44%) |
| CMYK | cmyk(72.6%, 0%, 85%, 55.7%) |
| CIE-LAB | lab(41.44, -42.37, 41.98) |
| CIE-LCH | lch(41.44, 59.65, 135.27°) |
| OKLab | oklab(48.13% -0.1158 0.093) |
| OKLCH | oklch(48.13% 0.149 141.2) |
| XYZ | xyz(6.5710, 12.1413, 2.5274) |
| Luminance | 0.1214 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.55
Tree Green
#2A7E19
ΔE00 4.57
Green
#008000
ΔE00 5.43
Darkish Green
#287C37
ΔE00 6.04
Dark Grass Green
#388004
ΔE00 6.35
Deep Green
#02590F
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7111 #631171
analogous
#4F7111 #1F7111 #117133
triadic
#1F7111 #111F71 #71111F
tetradic
#1F7111 #114F71 #631171 #713311
square
#1F7111 #114F71 #631171 #713311
split-complementary
#1F7111 #331171 #71114F
monochromatic
#071B04 #103C09 #1F7111 #2EA619 #3CDB21
Accessibility & contrast
On white
6.13
#1F7111 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#1F7111 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7111
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7111 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7111 | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#6B5F1D
Tritanopia (blue-blind)
#0C6D60
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #1f7111; /* rgb */ color: rgb(31, 113, 17); /* oklch */ color: oklch(48.1% 0.149 141.2);
Tailwind
colors: {
custom: {
50: '#699b59',
500: '#1f7111',
950: '#000000',
},
}SCSS
$custom: #1f7111; $custom-light: #699b59; $custom-dark: #000000;
JSON
{
"hex": "#1f7111",
"rgb": {
"r": 31,
"g": 113,
"b": 17
},
"hsl": {
"h": 111.25,
"s": 73.846,
"l": 25.49
},
"oklch": {
"l": 0.4813,
"c": 0.14853,
"h": 141.2
},
"luminance": 0.12142
}Semantic roles & 50–950 ramp
primary
#1F7111
secondary
#9836A8
accent
#37F1D5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79