#1F7952#1F7952
#1F7952 is a mid, moderate teal. Relative luminance 0.146; OKLCH L 51.4% C 0.104 H 160.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7952 |
|---|---|
| RGB | rgb(31, 121, 82) |
| HSL | hsl(154, 59%, 30%) |
| HSV | hsv(154, 74%, 47%) |
| CMYK | cmyk(74.4%, 0%, 32.2%, 52.5%) |
| CIE-LAB | lab(45.05, -35.87, 14.05) |
| CIE-LCH | lch(45.05, 38.52, 158.61°) |
| OKLab | oklab(51.38% -0.0977 0.0356) |
| OKLCH | oklch(51.38% 0.104 160) |
| XYZ | xyz(8.9245, 14.5742, 10.3238) |
| Luminance | 0.1457 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Dark Sea Green
#11875D
ΔE00 5.02
Jungle Green
#048243
ΔE00 6.06
Sea Green
#2E8B57
ΔE00 7.09
Darkish Green
#287C37
ΔE00 7.35
Viridian
#1E9167
ΔE00 8.70
Spruce
#0A5F38
ΔE00 8.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7952 #791F46
analogous
#1F7925 #1F7952 #1F7379
triadic
#1F7952 #521F79 #79521F
tetradic
#1F7952 #251F79 #791F46 #73791F
square
#1F7952 #251F79 #791F46 #73791F
split-complementary
#1F7952 #791F73 #79251F
monochromatic
#061811 #134831 #1F7952 #2BAA73 #43CF93
Accessibility & contrast
On white
5.36
#1F7952 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#1F7952 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7952
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7952 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7952 | 1.00 | 5.36 | 3.91 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776F50
Deuteranopia (green-blind)
#6C6755
Tritanopia (blue-blind)
#00786F
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #1f7952; /* rgb */ color: rgb(31, 121, 82); /* oklch */ color: oklch(51.4% 0.104 160.0);
Tailwind
colors: {
custom: {
50: '#68a082',
500: '#1f7952',
950: '#000000',
},
}SCSS
$custom: #1f7952; $custom-light: #68a082; $custom-dark: #000000;
JSON
{
"hex": "#1f7952",
"rgb": {
"r": 31,
"g": 121,
"b": 82
},
"hsl": {
"h": 154,
"s": 59.211,
"l": 29.804
},
"oklch": {
"l": 0.51382,
"c": 0.10395,
"h": 160
},
"luminance": 0.14575
}Semantic roles & 50–950 ramp
primary
#1F7952
secondary
#AC4773
accent
#4589E2
background
#F6F9F8
surface
#EBF2EF
border
#C6CCCA
text
#070F0A
muted
#7A7E7C