#1F7C4B#1F7C4B
#1F7C4B is a mid, moderate green. Relative luminance 0.152; OKLCH L 52.1% C 0.115 H 155.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7C4B |
|---|---|
| RGB | rgb(31, 124, 75) |
| HSL | hsl(148, 60%, 30%) |
| HSV | hsv(148, 75%, 49%) |
| CMYK | cmyk(75%, 0%, 39.5%, 51.4%) |
| CIE-LAB | lab(45.93, -38.67, 19.28) |
| CIE-LCH | lch(45.93, 43.21, 153.50°) |
| OKLab | oklab(52.06% -0.1044 0.0482) |
| OKLCH | oklch(52.06% 0.115 155.2) |
| XYZ | xyz(9.0419, 15.2136, 9.1152) |
| Luminance | 0.1522 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 3.47
Darkish Green
#287C37
ΔE00 4.82
Dark Sea Green
#11875D
ΔE00 4.84
Sea Green
#2E8B57
ΔE00 5.60
Dark Sage
#598556
ΔE00 8.23
Viridian
#1E9167
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7C4B #7C1F50
analogous
#217C1F #1F7C4B #1F7C79
triadic
#1F7C4B #4B1F7C #7C4B1F
tetradic
#1F7C4B #1F217C #7C1F50 #7C791F
square
#1F7C4B #1F217C #7C1F50 #7C791F
split-complementary
#1F7C4B #791F7C #7C1F21
monochromatic
#071A10 #134B2D #1F7C4B #2BAD69 #45D087
Accessibility & contrast
On white
5.19
#1F7C4B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#1F7C4B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7C4B
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7C4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7C4B | 1.00 | 5.19 | 4.04 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C7248
Deuteranopia (green-blind)
#706A4E
Tritanopia (blue-blind)
#007B70
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #1f7c4b; /* rgb */ color: rgb(31, 124, 75); /* oklch */ color: oklch(52.1% 0.115 155.2);
Tailwind
colors: {
custom: {
50: '#69a37d',
500: '#1f7c4b',
950: '#000000',
},
}SCSS
$custom: #1f7c4b; $custom-light: #69a37d; $custom-dark: #000000;
JSON
{
"hex": "#1f7c4b",
"rgb": {
"r": 31,
"g": 124,
"b": 75
},
"hsl": {
"h": 148.387,
"s": 60,
"l": 30.392
},
"oklch": {
"l": 0.5206,
"c": 0.11501,
"h": 155.2
},
"luminance": 0.15215
}Semantic roles & 50–950 ramp
primary
#1F7C4B
secondary
#AF487E
accent
#4598E3
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C