#1F7F46#1F7F46
#1F7F46 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.124 H 152.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7F46 |
|---|---|
| RGB | rgb(31, 127, 70) |
| HSL | hsl(144, 61%, 31%) |
| HSV | hsv(144, 76%, 50%) |
| CMYK | cmyk(75.6%, 0%, 44.9%, 50.2%) |
| CIE-LAB | lab(46.86, -40.88, 23.32) |
| CIE-LCH | lch(46.86, 47.06, 150.30°) |
| OKLab | oklab(52.8% -0.11 0.0576) |
| OKLCH | oklch(52.8% 0.124 152.4) |
| XYZ | xyz(9.2591, 15.9112, 8.3763) |
| Luminance | 0.1591 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 1.70
Darkish Green
#287C37
ΔE00 3.29
Sea Green
#2E8B57
ΔE00 4.89
Dark Sea Green
#11875D
ΔE00 5.40
Dark Sage
#598556
ΔE00 7.81
Tree Green
#2A7E19
ΔE00 8.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7F46 #7F1F58
analogous
#287F1F #1F7F46 #1F7F76
triadic
#1F7F46 #461F7F #7F461F
tetradic
#1F7F46 #1F287F #7F1F58 #7F761F
square
#1F7F46 #1F287F #7F1F58 #7F761F
split-complementary
#1F7F46 #761F7F #7F1F28
monochromatic
#071D10 #134E2B #1F7F46 #2BB061 #46D27F
Accessibility & contrast
On white
5.02
#1F7F46 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#1F7F46 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7F46
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7F46 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7F46 | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7442
Deuteranopia (green-blind)
#746C4A
Tritanopia (blue-blind)
#007D71
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #1f7f46; /* rgb */ color: rgb(31, 127, 70); /* oklch */ color: oklch(52.8% 0.124 152.4);
Tailwind
colors: {
custom: {
50: '#6aa57a',
500: '#1f7f46',
950: '#000000',
},
}SCSS
$custom: #1f7f46; $custom-light: #6aa57a; $custom-dark: #000000;
JSON
{
"hex": "#1f7f46",
"rgb": {
"r": 31,
"g": 127,
"b": 70
},
"hsl": {
"h": 144.375,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.52801,
"c": 0.12419,
"h": 152.4
},
"luminance": 0.15912
}Semantic roles & 50–950 ramp
primary
#1F7F46
secondary
#B24887
accent
#44A3E4
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B