#1F7E19#1F7E19
#1F7E19 is a mid, vivid green. Relative luminance 0.153; OKLCH L 51.9% C 0.160 H 142.2°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7E19 |
|---|---|
| RGB | rgb(31, 126, 25) |
| HSL | hsl(116, 67%, 30%) |
| HSV | hsv(116, 80%, 49%) |
| CMYK | cmyk(75.4%, 0%, 80.2%, 50.6%) |
| CIE-LAB | lab(46.02, -46.38, 43.72) |
| CIE-LCH | lch(46.02, 63.74, 136.69°) |
| OKLab | oklab(51.94% -0.1262 0.0979) |
| OKLCH | oklch(51.94% 0.16 142.2) |
| XYZ | xyz(8.2009, 15.2823, 3.4371) |
| Luminance | 0.1528 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.93
Green
#008000
ΔE00 2.04
Dark Grass Green
#388004
ΔE00 3.67
Forestgreen (CSS)
#228B22
ΔE00 4.64
Darkish Green
#287C37
ΔE00 4.77
Emerald Green
#028F1E
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7E19 #78197E
analogous
#517E19 #1F7E19 #197E46
triadic
#1F7E19 #191F7E #7E191F
tetradic
#1F7E19 #19517E #78197E #7E4619
square
#1F7E19 #19517E #78197E #7E4619
split-complementary
#1F7E19 #46197E #7E1951
monochromatic
#061A05 #124B0F #1F7E19 #2CB123 #43D83A
Accessibility & contrast
On white
5.18
#1F7E19 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#1F7E19 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7E19
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7E19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7E19 | 1.00 | 5.18 | 4.06 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #1f7e19; /* rgb */ color: rgb(31, 126, 25); /* oklch */ color: oklch(51.9% 0.160 142.2);
Tailwind
colors: {
custom: {
50: '#6ca45e',
500: '#1f7e19',
950: '#000000',
},
}SCSS
$custom: #1f7e19; $custom-light: #6ca45e; $custom-dark: #000000;
JSON
{
"hex": "#1f7e19",
"rgb": {
"r": 31,
"g": 126,
"b": 25
},
"hsl": {
"h": 116.436,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.51945,
"c": 0.1597,
"h": 142.2
},
"luminance": 0.15283
}Semantic roles & 50–950 ramp
primary
#1F7E19
secondary
#AB41B2
accent
#3EEAE0
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79