#1F7A3E#1F7A3E
#1F7A3E is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.2% C 0.125 H 150.3°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7A3E |
|---|---|
| RGB | rgb(31, 122, 62) |
| HSL | hsl(140, 59%, 30%) |
| HSV | hsv(140, 75%, 48%) |
| CMYK | cmyk(74.6%, 0%, 49.2%, 52.2%) |
| CIE-LAB | lab(45.02, -40.37, 25.38) |
| CIE-LCH | lch(45.02, 47.68, 147.84°) |
| OKLab | oklab(51.24% -0.1086 0.062) |
| OKLCH | oklch(51.24% 0.125 150.3) |
| XYZ | xyz(8.3934, 14.5572, 6.9240) |
| Luminance | 0.1456 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.24
Jungle Green
#048243
ΔE00 2.97
Sea Green
#2E8B57
ΔE00 6.90
Tree Green
#2A7E19
ΔE00 7.18
Dark Sea Green
#11875D
ΔE00 7.27
Green
#008000
ΔE00 8.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7A3E #7A1F5B
analogous
#2D7A1F #1F7A3E #1F7A6C
triadic
#1F7A3E #3E1F7A #7A3E1F
tetradic
#1F7A3E #1F2D7A #7A1F5B #7A6C1F
square
#1F7A3E #1F2D7A #7A1F5B #7A6C1F
split-complementary
#1F7A3E #6C1F7A #7A1F2D
monochromatic
#06180C #134925 #1F7A3E #2BAB57 #44CF73
Accessibility & contrast
On white
5.37
#1F7A3E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#1F7A3E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7A3E
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7A3E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7A3E | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6F39
Deuteranopia (green-blind)
#706742
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #1f7a3e; /* rgb */ color: rgb(31, 122, 62); /* oklch */ color: oklch(51.2% 0.125 150.3);
Tailwind
colors: {
custom: {
50: '#69a174',
500: '#1f7a3e',
950: '#000000',
},
}SCSS
$custom: #1f7a3e; $custom-light: #69a174; $custom-dark: #000000;
JSON
{
"hex": "#1f7a3e",
"rgb": {
"r": 31,
"g": 122,
"b": 62
},
"hsl": {
"h": 140.44,
"s": 59.477,
"l": 30
},
"oklch": {
"l": 0.51243,
"c": 0.12508,
"h": 150.3
},
"luminance": 0.14558
}Semantic roles & 50–950 ramp
primary
#1F7A3E
secondary
#AD478B
accent
#45ADE3
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#070F08
muted
#7A7F7B