#1F7C4A#1F7C4A
#1F7C4A is a mid, moderate green. Relative luminance 0.152; OKLCH L 52.0% C 0.116 H 154.8°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7C4A |
|---|---|
| RGB | rgb(31, 124, 74) |
| HSL | hsl(148, 60%, 30%) |
| HSV | hsv(148, 75%, 49%) |
| CMYK | cmyk(75%, 0%, 40.3%, 51.4%) |
| CIE-LAB | lab(45.91, -38.88, 19.82) |
| CIE-LCH | lch(45.91, 43.64, 152.99°) |
| OKLab | oklab(52.04% -0.1049 0.0495) |
| OKLCH | oklch(52.04% 0.116 154.8) |
| XYZ | xyz(9.0079, 15.2000, 8.9364) |
| Luminance | 0.1520 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 3.28
Darkish Green
#287C37
ΔE00 4.57
Dark Sea Green
#11875D
ΔE00 5.00
Sea Green
#2E8B57
ΔE00 5.61
Dark Sage
#598556
ΔE00 8.22
Viridian
#1E9167
ΔE00 8.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7C4A #7C1F51
analogous
#227C1F #1F7C4A #1F7C78
triadic
#1F7C4A #4A1F7C #7C4A1F
tetradic
#1F7C4A #1F227C #7C1F51 #7C781F
square
#1F7C4A #1F227C #7C1F51 #7C781F
split-complementary
#1F7C4A #781F7C #7C1F22
monochromatic
#071A10 #134B2D #1F7C4A #2BAD67 #45D085
Accessibility & contrast
On white
5.20
#1F7C4A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#1F7C4A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7C4A
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7C4A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7C4A | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C7247
Deuteranopia (green-blind)
#70694D
Tritanopia (blue-blind)
#007B6F
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #1f7c4a; /* rgb */ color: rgb(31, 124, 74); /* oklch */ color: oklch(52.0% 0.116 154.8);
Tailwind
colors: {
custom: {
50: '#69a37d',
500: '#1f7c4a',
950: '#000000',
},
}SCSS
$custom: #1f7c4a; $custom-light: #69a37d; $custom-dark: #000000;
JSON
{
"hex": "#1f7c4a",
"rgb": {
"r": 31,
"g": 124,
"b": 74
},
"hsl": {
"h": 147.742,
"s": 60,
"l": 30.392
},
"oklch": {
"l": 0.52039,
"c": 0.116,
"h": 154.8
},
"luminance": 0.15201
}Semantic roles & 50–950 ramp
primary
#1F7C4A
secondary
#AF487F
accent
#459AE3
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F09
muted
#7A7F7B