#1F7A2E#1F7A2E
#1F7A2E is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.140 H 145.7°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7A2E |
|---|---|
| RGB | rgb(31, 122, 46) |
| HSL | hsl(130, 59%, 30%) |
| HSV | hsv(130, 75%, 48%) |
| CMYK | cmyk(74.6%, 0%, 62.3%, 52.2%) |
| CIE-LAB | lab(44.81, -42.84, 33.50) |
| CIE-LCH | lch(44.81, 54.38, 141.97°) |
| OKLab | oklab(51% -0.1156 0.0789) |
| OKLCH | oklch(51% 0.14 145.7) |
| XYZ | xyz(8.0172, 14.4067, 4.9425) |
| Luminance | 0.1441 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.61
Tree Green
#2A7E19
ΔE00 4.14
Jungle Green
#048243
ΔE00 4.59
Green
#008000
ΔE00 5.52
Forestgreen (CSS)
#228B22
ΔE00 6.90
Dark Grass Green
#388004
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7A2E #7A1F6B
analogous
#3E7A1F #1F7A2E #1F7A5B
triadic
#1F7A2E #2E1F7A #7A2E1F
tetradic
#1F7A2E #1F3E7A #7A1F6B #7A5B1F
square
#1F7A2E #1F3E7A #7A1F6B #7A5B1F
split-complementary
#1F7A2E #5B1F7A #7A1F3E
monochromatic
#061809 #13491C #1F7A2E #2BAB40 #44CF5B
Accessibility & contrast
On white
5.41
#1F7A2E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#1F7A2E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7A2E
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7A2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7A2E | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C6E26
Deuteranopia (green-blind)
#716734
Tritanopia (blue-blind)
#00776A
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #1f7a2e; /* rgb */ color: rgb(31, 122, 46); /* oklch */ color: oklch(51.0% 0.140 145.7);
Tailwind
colors: {
custom: {
50: '#69a169',
500: '#1f7a2e',
950: '#000000',
},
}SCSS
$custom: #1f7a2e; $custom-light: #69a169; $custom-dark: #000000;
JSON
{
"hex": "#1f7a2e",
"rgb": {
"r": 31,
"g": 122,
"b": 46
},
"hsl": {
"h": 129.89,
"s": 59.477,
"l": 30
},
"oklch": {
"l": 0.50999,
"c": 0.13996,
"h": 145.7
},
"luminance": 0.14408
}Semantic roles & 50–950 ramp
primary
#1F7A2E
secondary
#AD479D
accent
#45C9E3
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A