#1F7C52#1F7C52
#1F7C52 is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.2% C 0.108 H 158.9°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7C52 |
|---|---|
| RGB | rgb(31, 124, 82) |
| HSL | hsl(153, 60%, 30%) |
| HSV | hsv(153, 75%, 49%) |
| CMYK | cmyk(75%, 0%, 33.9%, 51.4%) |
| CIE-LAB | lab(46.06, -37.15, 15.44) |
| CIE-LCH | lch(46.06, 40.23, 157.43°) |
| OKLab | oklab(52.22% -0.1009 0.039) |
| OKLCH | oklch(52.22% 0.108 158.9) |
| XYZ | xyz(9.2948, 15.3147, 10.4472) |
| Luminance | 0.1532 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Dark Sea Green
#11875D
ΔE00 4.06
Jungle Green
#048243
ΔE00 5.02
Sea Green
#2E8B57
ΔE00 5.89
Darkish Green
#287C37
ΔE00 6.65
Viridian
#1E9167
ΔE00 7.71
Dark Sage
#598556
ΔE00 8.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7C52 #7C1F49
analogous
#1F7C23 #1F7C52 #1F777C
triadic
#1F7C52 #521F7C #7C521F
tetradic
#1F7C52 #231F7C #7C1F49 #777C1F
square
#1F7C52 #231F7C #7C1F49 #777C1F
split-complementary
#1F7C52 #7C1F77 #7C231F
monochromatic
#071A11 #134B32 #1F7C52 #2BAD72 #45D091
Accessibility & contrast
On white
5.17
#1F7C52 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#1F7C52 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7C52
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7C52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7C52 | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B724F
Deuteranopia (green-blind)
#6F6A55
Tritanopia (blue-blind)
#007B71
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #1f7c52; /* rgb */ color: rgb(31, 124, 82); /* oklch */ color: oklch(52.2% 0.108 158.9);
Tailwind
colors: {
custom: {
50: '#69a383',
500: '#1f7c52',
950: '#000000',
},
}SCSS
$custom: #1f7c52; $custom-light: #69a383; $custom-dark: #000000;
JSON
{
"hex": "#1f7c52",
"rgb": {
"r": 31,
"g": 124,
"b": 82
},
"hsl": {
"h": 152.903,
"s": 60,
"l": 30.392
},
"oklch": {
"l": 0.52218,
"c": 0.1082,
"h": 158.9
},
"luminance": 0.15316
}Semantic roles & 50–950 ramp
primary
#1F7C52
secondary
#AF4876
accent
#458CE3
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#070F0A
muted
#7A7F7C