#1F7519#1F7519
#1F7519 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.3% C 0.149 H 142.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7519 |
|---|---|
| RGB | rgb(31, 117, 25) |
| HSL | hsl(116, 65%, 28%) |
| HSV | hsv(116, 79%, 46%) |
| CMYK | cmyk(73.5%, 0%, 78.6%, 54.1%) |
| CIE-LAB | lab(42.89, -43.24, 40.66) |
| CIE-LCH | lch(42.89, 59.35, 136.76°) |
| OKLab | oklab(49.35% -0.1177 0.0915) |
| OKLCH | oklch(49.35% 0.149 142.1) |
| XYZ | xyz(7.1014, 13.0833, 3.0706) |
| Luminance | 0.1308 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.40
Green
#008000
ΔE00 4.47
Darkish Green
#287C37
ΔE00 4.76
Dark Grass Green
#388004
ΔE00 5.66
Darkgreen
#006400
ΔE00 5.86
Forestgreen (CSS)
#228B22
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7519 #6F1975
analogous
#4D7519 #1F7519 #197541
triadic
#1F7519 #191F75 #75191F
tetradic
#1F7519 #194D75 #6F1975 #754119
square
#1F7519 #194D75 #6F1975 #754119
split-complementary
#1F7519 #411975 #75194D
monochromatic
#071905 #12430E #1F7519 #2CA724 #3FD435
Accessibility & contrast
On white
5.81
#1F7519 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#1F7519 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7519
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7519 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7519 | 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)
#786905
Deuteranopia (green-blind)
#6E6323
Tritanopia (blue-blind)
#067163
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #1f7519; /* rgb */ color: rgb(31, 117, 25); /* oklch */ color: oklch(49.3% 0.149 142.1);
Tailwind
colors: {
custom: {
50: '#699e5d',
500: '#1f7519',
950: '#000000',
},
}SCSS
$custom: #1f7519; $custom-light: #699e5d; $custom-dark: #000000;
JSON
{
"hex": "#1f7519",
"rgb": {
"r": 31,
"g": 117,
"b": 25
},
"hsl": {
"h": 116.087,
"s": 64.789,
"l": 27.843
},
"oklch": {
"l": 0.49346,
"c": 0.14908,
"h": 142.1
},
"luminance": 0.13084
}Semantic roles & 50–950 ramp
primary
#1F7519
secondary
#A340AA
accent
#40E8DD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79