#1F7F45#1F7F45
#1F7F45 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.125 H 152.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7F45 |
|---|---|
| RGB | rgb(31, 127, 69) |
| HSL | hsl(144, 61%, 31%) |
| HSV | hsv(144, 76%, 50%) |
| CMYK | cmyk(75.6%, 0%, 45.7%, 50.2%) |
| CIE-LAB | lab(46.84, -41.06, 23.85) |
| CIE-LCH | lch(46.84, 47.49, 149.85°) |
| OKLab | oklab(52.78% -0.1105 0.0588) |
| OKLCH | oklch(52.78% 0.125 152) |
| XYZ | xyz(9.2278, 15.8987, 8.2115) |
| Luminance | 0.1590 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 1.60
Darkish Green
#287C37
ΔE00 3.08
Sea Green
#2E8B57
ΔE00 4.98
Dark Sea Green
#11875D
ΔE00 5.59
Dark Sage
#598556
ΔE00 7.84
Tree Green
#2A7E19
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7F45 #7F1F59
analogous
#297F1F #1F7F45 #1F7F75
triadic
#1F7F45 #451F7F #7F451F
tetradic
#1F7F45 #1F297F #7F1F59 #7F751F
square
#1F7F45 #1F297F #7F1F59 #7F751F
split-complementary
#1F7F45 #751F7F #7F1F29
monochromatic
#071D10 #134E2A #1F7F45 #2BB060 #46D27E
Accessibility & contrast
On white
5.02
#1F7F45 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#1F7F45 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7F45
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7F45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7F45 | 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)
#7F7441
Deuteranopia (green-blind)
#746C49
Tritanopia (blue-blind)
#007D71
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #1f7f45; /* rgb */ color: rgb(31, 127, 69); /* oklch */ color: oklch(52.8% 0.125 152.0);
Tailwind
colors: {
custom: {
50: '#6aa579',
500: '#1f7f45',
950: '#000000',
},
}SCSS
$custom: #1f7f45; $custom-light: #6aa579; $custom-dark: #000000;
JSON
{
"hex": "#1f7f45",
"rgb": {
"r": 31,
"g": 127,
"b": 69
},
"hsl": {
"h": 143.75,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.52782,
"c": 0.12518,
"h": 152
},
"luminance": 0.159
}Semantic roles & 50–950 ramp
primary
#1F7F45
secondary
#B24888
accent
#44A5E4
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B