#1F7919#1F7919
#1F7919 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.5% C 0.154 H 142.2°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7919 |
|---|---|
| RGB | rgb(31, 121, 25) |
| HSL | hsl(116, 66%, 29%) |
| HSV | hsv(116, 79%, 47%) |
| CMYK | cmyk(74.4%, 0%, 79.3%, 52.5%) |
| CIE-LAB | lab(44.28, -44.65, 42.03) |
| CIE-LCH | lch(44.28, 61.32, 136.73°) |
| OKLab | oklab(50.5% -0.1215 0.0943) |
| OKLCH | oklch(50.5% 0.154 142.2) |
| XYZ | xyz(7.5775, 14.0354, 3.2293) |
| Luminance | 0.1404 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.10
Green
#008000
ΔE00 3.24
Darkish Green
#287C37
ΔE00 4.52
Dark Grass Green
#388004
ΔE00 4.63
Forestgreen (CSS)
#228B22
ΔE00 6.38
Darkgreen
#006400
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7919 #731979
analogous
#4F7919 #1F7919 #197943
triadic
#1F7919 #191F79 #79191F
tetradic
#1F7919 #194F79 #731979 #794319
square
#1F7919 #194F79 #731979 #794319
split-complementary
#1F7919 #431979 #79194F
monochromatic
#061905 #12460F #1F7919 #2CAC23 #41D637
Accessibility & contrast
On white
5.52
#1F7919 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#1F7919 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7919
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7919 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7919 | 1.00 | 5.52 | 3.81 | 5.52 |
| #FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C6D03
Deuteranopia (green-blind)
#726624
Tritanopia (blue-blind)
#037567
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #1f7919; /* rgb */ color: rgb(31, 121, 25); /* oklch */ color: oklch(50.5% 0.154 142.2);
Tailwind
colors: {
custom: {
50: '#6aa15d',
500: '#1f7919',
950: '#000000',
},
}SCSS
$custom: #1f7919; $custom-light: #6aa15d; $custom-dark: #000000;
JSON
{
"hex": "#1f7919",
"rgb": {
"r": 31,
"g": 121,
"b": 25
},
"hsl": {
"h": 116.25,
"s": 65.753,
"l": 28.627
},
"oklch": {
"l": 0.50504,
"c": 0.15384,
"h": 142.2
},
"luminance": 0.14036
}Semantic roles & 50–950 ramp
primary
#1F7919
secondary
#A740AE
accent
#3FE9DE
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F05
muted
#7A7F79