#1F7319#1F7319
#1F7319 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.8% C 0.147 H 142.1°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7319 |
|---|---|
| RGB | rgb(31, 115, 25) |
| HSL | hsl(116, 64%, 27%) |
| HSV | hsv(116, 78%, 45%) |
| CMYK | cmyk(73%, 0%, 78.3%, 54.9%) |
| CIE-LAB | lab(42.19, -42.53, 39.96) |
| CIE-LCH | lch(42.19, 58.35, 136.78°) |
| OKLab | oklab(48.77% -0.1158 0.09) |
| OKLCH | oklch(48.77% 0.147 142.1) |
| XYZ | xyz(6.8709, 12.6222, 2.9937) |
| Luminance | 0.1262 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.07
Darkish Green
#287C37
ΔE00 5.02
Green
#008000
ΔE00 5.12
Darkgreen
#006400
ΔE00 5.25
Dark Grass Green
#388004
ΔE00 6.23
Jungle Green
#048243
ΔE00 8.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7319 #6D1973
analogous
#4C7319 #1F7319 #197340
triadic
#1F7319 #191F73 #73191F
tetradic
#1F7319 #194C73 #6D1973 #734019
square
#1F7319 #194C73 #6D1973 #734019
split-complementary
#1F7319 #401973 #73194C
monochromatic
#071905 #11410E #1F7319 #2DA524 #3ED334
Accessibility & contrast
On white
5.96
#1F7319 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#1F7319 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7319
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7319 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7319 | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766806
Deuteranopia (green-blind)
#6C6123
Tritanopia (blue-blind)
#086F62
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #1f7319; /* rgb */ color: rgb(31, 115, 25); /* oklch */ color: oklch(48.8% 0.147 142.1);
Tailwind
colors: {
custom: {
50: '#699c5d',
500: '#1f7319',
950: '#000000',
},
}SCSS
$custom: #1f7319; $custom-light: #699c5d; $custom-dark: #000000;
JSON
{
"hex": "#1f7319",
"rgb": {
"r": 31,
"g": 115,
"b": 25
},
"hsl": {
"h": 116,
"s": 64.286,
"l": 27.451
},
"oklch": {
"l": 0.48766,
"c": 0.14666,
"h": 142.1
},
"luminance": 0.12623
}Semantic roles & 50–950 ramp
primary
#1F7319
secondary
#A140A8
accent
#41E7DC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79