#1F7518#1F7518
#1F7518 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.3% C 0.150 H 142.0°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7518 |
|---|---|
| RGB | rgb(31, 117, 24) |
| HSL | hsl(115, 66%, 28%) |
| HSV | hsv(115, 79%, 46%) |
| CMYK | cmyk(73.5%, 0%, 79.5%, 54.1%) |
| CIE-LAB | lab(42.88, -43.32, 41.02) |
| CIE-LCH | lch(42.88, 59.65, 136.56°) |
| OKLab | oklab(49.34% -0.118 0.0921) |
| OKLCH | oklch(49.34% 0.15 142) |
| XYZ | xyz(7.0908, 13.0791, 3.0148) |
| Luminance | 0.1308 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.37
Green
#008000
ΔE00 4.41
Darkish Green
#287C37
ΔE00 4.87
Dark Grass Green
#388004
ΔE00 5.59
Darkgreen
#006400
ΔE00 5.85
Forestgreen (CSS)
#228B22
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7518 #6E1875
analogous
#4D7518 #1F7518 #187540
triadic
#1F7518 #181F75 #75181F
tetradic
#1F7518 #184D75 #6E1875 #754018
square
#1F7518 #184D75 #6E1875 #754018
split-complementary
#1F7518 #401875 #75184D
monochromatic
#071905 #12420E #1F7518 #2CA822 #3FD532
Accessibility & contrast
On white
5.81
#1F7518 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#1F7518 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7518
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7518 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7518 | 1.00 | 5.81 | 3.62 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786903
Deuteranopia (green-blind)
#6E6322
Tritanopia (blue-blind)
#067163
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #1f7518; /* rgb */ color: rgb(31, 117, 24); /* oklch */ color: oklch(49.3% 0.150 142.0);
Tailwind
colors: {
custom: {
50: '#699e5c',
500: '#1f7518',
950: '#000000',
},
}SCSS
$custom: #1f7518; $custom-light: #699e5c; $custom-dark: #000000;
JSON
{
"hex": "#1f7518",
"rgb": {
"r": 31,
"g": 117,
"b": 24
},
"hsl": {
"h": 115.484,
"s": 65.957,
"l": 27.647
},
"oklch": {
"l": 0.49339,
"c": 0.14965,
"h": 142
},
"luminance": 0.1308
}Semantic roles & 50–950 ramp
primary
#1F7518
secondary
#A23FAA
accent
#3FE9DC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79