#1F7115#1F7115
#1F7115 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.2% C 0.147 H 141.6°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7115 |
|---|---|
| RGB | rgb(31, 113, 21) |
| HSL | hsl(113, 69%, 26%) |
| HSV | hsv(113, 81%, 44%) |
| CMYK | cmyk(72.6%, 0%, 81.4%, 55.7%) |
| CIE-LAB | lab(41.46, -42.11, 40.70) |
| CIE-LCH | lch(41.46, 58.56, 135.98°) |
| OKLab | oklab(48.15% -0.1149 0.091) |
| OKLCH | oklch(48.15% 0.147 141.6) |
| XYZ | xyz(6.6052, 12.1550, 2.7074) |
| Luminance | 0.1216 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.58
Tree Green
#2A7E19
ΔE00 4.63
Green
#008000
ΔE00 5.57
Darkish Green
#287C37
ΔE00 5.71
Dark Grass Green
#388004
ΔE00 6.56
Deep Green
#02590F
ΔE00 8.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7115 #671571
analogous
#4D7115 #1F7115 #157139
triadic
#1F7115 #151F71 #71151F
tetradic
#1F7115 #154D71 #671571 #713915
square
#1F7115 #154D71 #671571 #713915
split-complementary
#1F7115 #391571 #71154D
monochromatic
#071A05 #113D0B #1F7115 #2DA51F #3CD729
Accessibility & contrast
On white
6.12
#1F7115 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#1F7115 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7115
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7115 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7115 | 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)
#6A5F20
Tritanopia (blue-blind)
#0B6D60
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #1f7115; /* rgb */ color: rgb(31, 113, 21); /* oklch */ color: oklch(48.2% 0.147 141.6);
Tailwind
colors: {
custom: {
50: '#699b5a',
500: '#1f7115',
950: '#000000',
},
}SCSS
$custom: #1f7115; $custom-light: #699b5a; $custom-dark: #000000;
JSON
{
"hex": "#1f7115",
"rgb": {
"r": 31,
"g": 113,
"b": 21
},
"hsl": {
"h": 113.478,
"s": 68.657,
"l": 26.275
},
"oklch": {
"l": 0.48154,
"c": 0.14653,
"h": 141.6
},
"luminance": 0.12156
}Semantic roles & 50–950 ramp
primary
#1F7115
secondary
#9B3BA7
accent
#3CEBD8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79