#1F7D4C#1F7D4C
#1F7D4C is a mid, moderate green. Relative luminance 0.155; OKLCH L 52.4% C 0.115 H 155.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7D4C |
|---|---|
| RGB | rgb(31, 125, 76) |
| HSL | hsl(149, 60%, 31%) |
| HSV | hsv(149, 75%, 49%) |
| CMYK | cmyk(75.2%, 0%, 39.2%, 51%) |
| CIE-LAB | lab(46.28, -38.87, 19.18) |
| CIE-LCH | lch(46.28, 43.35, 153.73°) |
| OKLab | oklab(52.36% -0.105 0.048) |
| OKLCH | oklch(52.36% 0.115 155.4) |
| XYZ | xyz(9.2023, 15.4793, 9.3389) |
| Luminance | 0.1548 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 3.33
Dark Sea Green
#11875D
ΔE00 4.52
Darkish Green
#287C37
ΔE00 4.90
Sea Green
#2E8B57
ΔE00 5.25
Viridian
#1E9167
ΔE00 7.92
Dark Sage
#598556
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7D4C #7D1F50
analogous
#217D1F #1F7D4C #1F7D7B
triadic
#1F7D4C #4C1F7D #7D4C1F
tetradic
#1F7D4C #1F217D #7D1F50 #7D7B1F
square
#1F7D4C #1F217D #7D1F50 #7D7B1F
split-complementary
#1F7D4C #7B1F7D #7D1F21
monochromatic
#071B10 #134C2E #1F7D4C #2BAE6A #45D188
Accessibility & contrast
On white
5.13
#1F7D4C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#1F7D4C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7D4C
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7D4C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7D4C | 1.00 | 5.13 | 4.10 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C7349
Deuteranopia (green-blind)
#716A4F
Tritanopia (blue-blind)
#007C71
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #1f7d4c; /* rgb */ color: rgb(31, 125, 76); /* oklch */ color: oklch(52.4% 0.115 155.4);
Tailwind
colors: {
custom: {
50: '#69a37e',
500: '#1f7d4c',
950: '#000000',
},
}SCSS
$custom: #1f7d4c; $custom-light: #69a37e; $custom-dark: #000000;
JSON
{
"hex": "#1f7d4c",
"rgb": {
"r": 31,
"g": 125,
"b": 76
},
"hsl": {
"h": 148.723,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.52362,
"c": 0.11545,
"h": 155.4
},
"luminance": 0.1548
}Semantic roles & 50–950 ramp
primary
#1F7D4C
secondary
#B0487E
accent
#4497E3
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C