#1F7D4E#1F7D4E
#1F7D4E is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.4% C 0.113 H 156.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7D4E |
|---|---|
| RGB | rgb(31, 125, 78) |
| HSL | hsl(150, 60%, 31%) |
| HSV | hsv(150, 75%, 49%) |
| CMYK | cmyk(75.2%, 0%, 37.6%, 51%) |
| CIE-LAB | lab(46.32, -38.45, 18.09) |
| CIE-LCH | lch(46.32, 42.49, 154.80°) |
| OKLab | oklab(52.41% -0.104 0.0454) |
| OKLCH | oklch(52.41% 0.113 156.4) |
| XYZ | xyz(9.2729, 15.5075, 9.7108) |
| Luminance | 0.1551 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Jungle Green
#048243
ΔE00 3.76
Dark Sea Green
#11875D
ΔE00 4.23
Sea Green
#2E8B57
ΔE00 5.28
Darkish Green
#287C37
ΔE00 5.41
Viridian
#1E9167
ΔE00 7.71
Dark Sage
#598556
ΔE00 8.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7D4E #7D1F4E
analogous
#1F7D1F #1F7D4E #1F7D7D
triadic
#1F7D4E #4E1F7D #7D4E1F
tetradic
#1F7D4E #1F1F7D #7D1F4E #7D7D1F
square
#1F7D4E #1F1F7D #7D1F4E #7D7D1F
split-complementary
#1F7D4E #7D1F7D #7D1F1F
monochromatic
#071B11 #134C2F #1F7D4E #2BAE6D #45D18B
Accessibility & contrast
On white
5.12
#1F7D4E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#1F7D4E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7D4E
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7D4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7D4E | 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)
#7C734B
Deuteranopia (green-blind)
#716A51
Tritanopia (blue-blind)
#007C71
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #1f7d4e; /* rgb */ color: rgb(31, 125, 78); /* oklch */ color: oklch(52.4% 0.113 156.4);
Tailwind
colors: {
custom: {
50: '#69a380',
500: '#1f7d4e',
950: '#000000',
},
}SCSS
$custom: #1f7d4e; $custom-light: #69a380; $custom-dark: #000000;
JSON
{
"hex": "#1f7d4e",
"rgb": {
"r": 31,
"g": 125,
"b": 78
},
"hsl": {
"h": 150,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.52406,
"c": 0.11348,
"h": 156.4
},
"luminance": 0.15509
}Semantic roles & 50–950 ramp
primary
#1F7D4E
secondary
#B0487C
accent
#4494E3
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C