#1F7950#1F7950
#1F7950 is a mid, moderate teal. Relative luminance 0.145; OKLCH L 51.3% C 0.106 H 158.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7950 |
|---|---|
| RGB | rgb(31, 121, 80) |
| HSL | hsl(153, 59%, 30%) |
| HSV | hsv(153, 74%, 47%) |
| CMYK | cmyk(74.4%, 0%, 33.9%, 52.5%) |
| CIE-LAB | lab(45.00, -36.33, 15.16) |
| CIE-LCH | lch(45.00, 39.36, 157.35°) |
| OKLab | oklab(51.33% -0.0987 0.0383) |
| OKLCH | oklch(51.33% 0.106 158.8) |
| XYZ | xyz(8.8495, 14.5442, 9.9288) |
| Luminance | 0.1454 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Dark Sea Green
#11875D
ΔE00 5.08
Jungle Green
#048243
ΔE00 5.59
Darkish Green
#287C37
ΔE00 6.80
Sea Green
#2E8B57
ΔE00 6.91
Viridian
#1E9167
ΔE00 8.77
Spruce
#0A5F38
ΔE00 8.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7950 #791F48
analogous
#1F7923 #1F7950 #1F7579
triadic
#1F7950 #501F79 #79501F
tetradic
#1F7950 #231F79 #791F48 #75791F
square
#1F7950 #231F79 #791F48 #75791F
split-complementary
#1F7950 #791F75 #79231F
monochromatic
#061810 #134830 #1F7950 #2BAA70 #43CF8F
Accessibility & contrast
On white
5.37
#1F7950 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#1F7950 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7950
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7950 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7950 | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786F4D
Deuteranopia (green-blind)
#6C6753
Tritanopia (blue-blind)
#00786E
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #1f7950; /* rgb */ color: rgb(31, 121, 80); /* oklch */ color: oklch(51.3% 0.106 158.8);
Tailwind
colors: {
custom: {
50: '#68a081',
500: '#1f7950',
950: '#000000',
},
}SCSS
$custom: #1f7950; $custom-light: #68a081; $custom-dark: #000000;
JSON
{
"hex": "#1f7950",
"rgb": {
"r": 31,
"g": 121,
"b": 80
},
"hsl": {
"h": 152.667,
"s": 59.211,
"l": 29.804
},
"oklch": {
"l": 0.51333,
"c": 0.10586,
"h": 158.8
},
"luminance": 0.14545
}Semantic roles & 50–950 ramp
primary
#1F7950
secondary
#AC4775
accent
#458DE2
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070F0A
muted
#7A7E7C