#1F7D4B#1F7D4B
#1F7D4B is a mid, moderate green. Relative luminance 0.155; OKLCH L 52.3% C 0.116 H 155.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7D4B |
|---|---|
| RGB | rgb(31, 125, 75) |
| HSL | hsl(148, 60%, 31%) |
| HSV | hsv(148, 75%, 49%) |
| CMYK | cmyk(75.2%, 0%, 40%, 51%) |
| CIE-LAB | lab(46.27, -39.08, 19.73) |
| CIE-LCH | lch(46.27, 43.78, 153.21°) |
| OKLab | oklab(52.34% -0.1055 0.0493) |
| OKLCH | oklch(52.34% 0.116 155) |
| XYZ | xyz(9.1678, 15.4655, 9.1572) |
| Luminance | 0.1547 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 3.13
Darkish Green
#287C37
ΔE00 4.65
Dark Sea Green
#11875D
ΔE00 4.68
Sea Green
#2E8B57
ΔE00 5.25
Viridian
#1E9167
ΔE00 8.03
Dark Sage
#598556
ΔE00 8.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7D4B #7D1F51
analogous
#227D1F #1F7D4B #1F7D7A
triadic
#1F7D4B #4B1F7D #7D4B1F
tetradic
#1F7D4B #1F227D #7D1F51 #7D7A1F
square
#1F7D4B #1F227D #7D1F51 #7D7A1F
split-complementary
#1F7D4B #7A1F7D #7D1F22
monochromatic
#071B10 #134C2E #1F7D4B #2BAE68 #45D187
Accessibility & contrast
On white
5.13
#1F7D4B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#1F7D4B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7D4B
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7D4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7D4B | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D7248
Deuteranopia (green-blind)
#716A4E
Tritanopia (blue-blind)
#007C70
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #1f7d4b; /* rgb */ color: rgb(31, 125, 75); /* oklch */ color: oklch(52.3% 0.116 155.0);
Tailwind
colors: {
custom: {
50: '#69a37d',
500: '#1f7d4b',
950: '#000000',
},
}SCSS
$custom: #1f7d4b; $custom-light: #69a37d; $custom-dark: #000000;
JSON
{
"hex": "#1f7d4b",
"rgb": {
"r": 31,
"g": 125,
"b": 75
},
"hsl": {
"h": 148.085,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.52341,
"c": 0.11643,
"h": 155
},
"luminance": 0.15467
}Semantic roles & 50–950 ramp
primary
#1F7D4B
secondary
#B0487F
accent
#4499E3
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C