#1F7248#1F7248
#1F7248 is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.2% C 0.104 H 156.6°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7248 |
|---|---|
| RGB | rgb(31, 114, 72) |
| HSL | hsl(150, 57%, 28%) |
| HSV | hsv(150, 73%, 45%) |
| CMYK | cmyk(72.8%, 0%, 36.8%, 55.3%) |
| CIE-LAB | lab(42.45, -35.11, 16.35) |
| CIE-LCH | lch(42.45, 38.73, 155.03°) |
| OKLab | oklab(49.18% -0.0951 0.0411) |
| OKLCH | oklch(49.18% 0.104 156.6) |
| XYZ | xyz(7.7514, 12.7929, 8.1904) |
| Luminance | 0.1279 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 6.41
Jungle Green
#048243
ΔE00 6.76
Darkish Green
#287C37
ΔE00 6.88
Pine
#2B5D34
ΔE00 7.55
Dark Sea Green
#11875D
ΔE00 7.60
Hunter Green
#355E3B
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7248 #721F49
analogous
#1F721F #1F7248 #1F7271
triadic
#1F7248 #481F72 #72481F
tetradic
#1F7248 #1F1F72 #721F49 #72711F
square
#1F7248 #1F1F72 #721F49 #72711F
split-complementary
#1F7248 #711F72 #721F1F
monochromatic
#07180F #12422A #1F7248 #2CA266 #40CB85
Accessibility & contrast
On white
5.90
#1F7248 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#1F7248 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7248
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7248 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7248 | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716945
Deuteranopia (green-blind)
#67614B
Tritanopia (blue-blind)
#007167
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #1f7248; /* rgb */ color: rgb(31, 114, 72); /* oklch */ color: oklch(49.2% 0.104 156.6);
Tailwind
colors: {
custom: {
50: '#679b7b',
500: '#1f7248',
950: '#000000',
},
}SCSS
$custom: #1f7248; $custom-light: #679b7b; $custom-dark: #000000;
JSON
{
"hex": "#1f7248",
"rgb": {
"r": 31,
"g": 114,
"b": 72
},
"hsl": {
"h": 149.639,
"s": 57.241,
"l": 28.431
},
"oklch": {
"l": 0.49179,
"c": 0.10361,
"h": 156.6
},
"luminance": 0.12794
}Semantic roles & 50–950 ramp
primary
#1F7248
secondary
#A64777
accent
#4795E0
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E09
muted
#7A7E7B