#1F7D4F#1F7D4F
#1F7D4F is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.4% C 0.113 H 156.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7D4F |
|---|---|
| RGB | rgb(31, 125, 79) |
| HSL | hsl(151, 60%, 31%) |
| HSV | hsv(151, 75%, 49%) |
| CMYK | cmyk(75.2%, 0%, 36.8%, 51%) |
| CIE-LAB | lab(46.34, -38.23, 17.55) |
| CIE-LCH | lch(46.34, 42.07, 155.35°) |
| OKLab | oklab(52.43% -0.1035 0.0441) |
| OKLCH | oklch(52.43% 0.113 156.9) |
| XYZ | xyz(9.3091, 15.5220, 9.9010) |
| Luminance | 0.1552 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Jungle Green
#048243
ΔE00 3.98
Dark Sea Green
#11875D
ΔE00 4.09
Sea Green
#2E8B57
ΔE00 5.31
Darkish Green
#287C37
ΔE00 5.67
Viridian
#1E9167
ΔE00 7.62
Dark Sage
#598556
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7D4F #7D1F4D
analogous
#1F7D20 #1F7D4F #1F7C7D
triadic
#1F7D4F #4F1F7D #7D4F1F
tetradic
#1F7D4F #201F7D #7D1F4D #7C7D1F
square
#1F7D4F #201F7D #7D1F4D #7C7D1F
split-complementary
#1F7D4F #7D1F7C #7D201F
monochromatic
#071B11 #134C30 #1F7D4F #2BAE6E #45D18D
Accessibility & contrast
On white
5.12
#1F7D4F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#1F7D4F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7D4F
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7D4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7D4F | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C734C
Deuteranopia (green-blind)
#716A52
Tritanopia (blue-blind)
#007C71
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #1f7d4f; /* rgb */ color: rgb(31, 125, 79); /* oklch */ color: oklch(52.4% 0.113 156.9);
Tailwind
colors: {
custom: {
50: '#69a380',
500: '#1f7d4f',
950: '#000000',
},
}SCSS
$custom: #1f7d4f; $custom-light: #69a380; $custom-dark: #000000;
JSON
{
"hex": "#1f7d4f",
"rgb": {
"r": 31,
"g": 125,
"b": 79
},
"hsl": {
"h": 150.638,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.52428,
"c": 0.11251,
"h": 156.9
},
"luminance": 0.15523
}Semantic roles & 50–950 ramp
primary
#1F7D4F
secondary
#B0487B
accent
#4492E3
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C