#1F7415#1F7415
#1F7415 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.0% C 0.150 H 141.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7415 |
|---|---|
| RGB | rgb(31, 116, 21) |
| HSL | hsl(114, 69%, 27%) |
| HSV | hsv(114, 82%, 45%) |
| CMYK | cmyk(73.3%, 0%, 81.9%, 54.5%) |
| CIE-LAB | lab(42.51, -43.18, 41.71) |
| CIE-LCH | lch(42.51, 60.03, 135.99°) |
| OKLab | oklab(49.03% -0.1177 0.0931) |
| OKLCH | oklch(49.03% 0.15 141.7) |
| XYZ | xyz(6.9454, 12.8355, 2.8208) |
| Luminance | 0.1284 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.63
Green
#008000
ΔE00 4.58
Darkish Green
#287C37
ΔE00 5.28
Darkgreen
#006400
ΔE00 5.50
Dark Grass Green
#388004
ΔE00 5.68
Forestgreen (CSS)
#228B22
ΔE00 8.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7415 #6A1574
analogous
#4F7415 #1F7415 #15743B
triadic
#1F7415 #151F74 #74151F
tetradic
#1F7415 #154F74 #6A1574 #743B15
square
#1F7415 #154F74 #6A1574 #743B15
split-complementary
#1F7415 #3B1574 #74154F
monochromatic
#071A05 #11400C #1F7415 #2DA81E #3DD92B
Accessibility & contrast
On white
5.89
#1F7415 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#1F7415 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7415
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7415 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7415 | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6D6220
Tritanopia (blue-blind)
#087062
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #1f7415; /* rgb */ color: rgb(31, 116, 21); /* oklch */ color: oklch(49.0% 0.150 141.7);
Tailwind
colors: {
custom: {
50: '#699d5b',
500: '#1f7415',
950: '#000000',
},
}SCSS
$custom: #1f7415; $custom-light: #699d5b; $custom-dark: #000000;
JSON
{
"hex": "#1f7415",
"rgb": {
"r": 31,
"g": 116,
"b": 21
},
"hsl": {
"h": 113.684,
"s": 69.343,
"l": 26.863
},
"oklch": {
"l": 0.49028,
"c": 0.1501,
"h": 141.7
},
"luminance": 0.12836
}Semantic roles & 50–950 ramp
primary
#1F7415
secondary
#9E3BAA
accent
#3CECDA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79