#1F7015#1F7015
#1F7015 is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.145 H 141.6°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7015 |
|---|---|
| RGB | rgb(31, 112, 21) |
| HSL | hsl(113, 68%, 26%) |
| HSV | hsv(113, 81%, 44%) |
| CMYK | cmyk(72.3%, 0%, 81.2%, 56.1%) |
| CIE-LAB | lab(41.11, -41.75, 40.36) |
| CIE-LCH | lch(41.11, 58.07, 135.97°) |
| OKLab | oklab(47.86% -0.1139 0.0903) |
| OKLCH | oklch(47.86% 0.145 141.6) |
| XYZ | xyz(6.4942, 11.9331, 2.6704) |
| Luminance | 0.1193 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.28
Tree Green
#2A7E19
ΔE00 4.97
Darkish Green
#287C37
ΔE00 5.88
Green
#008000
ΔE00 5.91
Dark Grass Green
#388004
ΔE00 6.86
Deep Green
#02590F
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7015 #661570
analogous
#4C7015 #1F7015 #157038
triadic
#1F7015 #151F70 #70151F
tetradic
#1F7015 #154C70 #661570 #703815
square
#1F7015 #154C70 #661570 #703815
split-complementary
#1F7015 #381570 #70154C
monochromatic
#071A05 #113C0B #1F7015 #2DA41F #3CD729
Accessibility & contrast
On white
6.20
#1F7015 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#1F7015 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7015
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7015 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7015 | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#6A5E1F
Tritanopia (blue-blind)
#0B6C5F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #1f7015; /* rgb */ color: rgb(31, 112, 21); /* oklch */ color: oklch(47.9% 0.145 141.6);
Tailwind
colors: {
custom: {
50: '#689a5a',
500: '#1f7015',
950: '#000000',
},
}SCSS
$custom: #1f7015; $custom-light: #689a5a; $custom-dark: #000000;
JSON
{
"hex": "#1f7015",
"rgb": {
"r": 31,
"g": 112,
"b": 21
},
"hsl": {
"h": 113.407,
"s": 68.421,
"l": 26.078
},
"oklch": {
"l": 0.47862,
"c": 0.14533,
"h": 141.6
},
"luminance": 0.11934
}Semantic roles & 50–950 ramp
primary
#1F7015
secondary
#9A3BA6
accent
#3DEBD8
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79