#1F7618#1F7618
#1F7618 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.6% C 0.151 H 142.0°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7618 |
|---|---|
| RGB | rgb(31, 118, 24) |
| HSL | hsl(116, 66%, 28%) |
| HSV | hsv(116, 80%, 46%) |
| CMYK | cmyk(73.7%, 0%, 79.7%, 53.7%) |
| CIE-LAB | lab(43.23, -43.67, 41.36) |
| CIE-LCH | lch(43.23, 60.15, 136.56°) |
| OKLab | oklab(49.63% -0.1189 0.0928) |
| OKLCH | oklch(49.63% 0.151 142) |
| XYZ | xyz(7.2080, 13.3133, 3.0538) |
| Luminance | 0.1331 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.04
Green
#008000
ΔE00 4.09
Darkish Green
#287C37
ΔE00 4.77
Dark Grass Green
#388004
ΔE00 5.32
Darkgreen
#006400
ΔE00 6.16
Forestgreen (CSS)
#228B22
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7618 #6F1876
analogous
#4E7618 #1F7618 #187640
triadic
#1F7618 #181F76 #76181F
tetradic
#1F7618 #184E76 #6F1876 #764018
square
#1F7618 #184E76 #6F1876 #764018
split-complementary
#1F7618 #401876 #76184E
monochromatic
#071905 #12430E #1F7618 #2CA922 #3FD533
Accessibility & contrast
On white
5.73
#1F7618 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#1F7618 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7618
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7618 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7618 | 1.00 | 5.73 | 3.66 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796A03
Deuteranopia (green-blind)
#6F6423
Tritanopia (blue-blind)
#057264
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #1f7618; /* rgb */ color: rgb(31, 118, 24); /* oklch */ color: oklch(49.6% 0.151 142.0);
Tailwind
colors: {
custom: {
50: '#6a9e5d',
500: '#1f7618',
950: '#000000',
},
}SCSS
$custom: #1f7618; $custom-light: #6a9e5d; $custom-dark: #000000;
JSON
{
"hex": "#1f7618",
"rgb": {
"r": 31,
"g": 118,
"b": 24
},
"hsl": {
"h": 115.532,
"s": 66.197,
"l": 27.843
},
"oklch": {
"l": 0.49629,
"c": 0.15084,
"h": 142
},
"luminance": 0.13314
}Semantic roles & 50–950 ramp
primary
#1F7618
secondary
#A33FAB
accent
#3FE9DC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79