#1F7252#1F7252
#1F7252 is a mid, moderate teal. Relative luminance 0.129; OKLCH L 49.4% C 0.094 H 163.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7252 |
|---|---|
| RGB | rgb(31, 114, 82) |
| HSL | hsl(157, 57%, 28%) |
| HSV | hsv(157, 73%, 45%) |
| CMYK | cmyk(72.8%, 0%, 28.1%, 55.3%) |
| CIE-LAB | lab(42.66, -32.79, 10.76) |
| CIE-LCH | lch(42.66, 34.51, 161.84°) |
| OKLab | oklab(49.43% -0.0899 0.0274) |
| OKLCH | oklch(49.43% 0.094 163) |
| XYZ | xyz(8.1045, 12.9342, 10.0504) |
| Luminance | 0.1293 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Spruce
#0A5F38
ΔE00 7.14
Dark Sea Green
#11875D
ΔE00 7.58
Dark Green Blue
#1F6357
ΔE00 8.38
Hunter Green
#355E3B
ΔE00 8.41
Pine
#2B5D34
ΔE00 8.68
Jungle Green
#048243
ΔE00 8.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7252 #721F3F
analogous
#1F7228 #1F7252 #1F6872
triadic
#1F7252 #521F72 #72521F
tetradic
#1F7252 #281F72 #721F3F #68721F
square
#1F7252 #281F72 #721F3F #68721F
split-complementary
#1F7252 #721F68 #72281F
monochromatic
#071811 #12422F #1F7252 #2CA275 #40CB96
Accessibility & contrast
On white
5.85
#1F7252 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#1F7252 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7252
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7252 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7252 | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706950
Deuteranopia (green-blind)
#656254
Tritanopia (blue-blind)
#007269
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #1f7252; /* rgb */ color: rgb(31, 114, 82); /* oklch */ color: oklch(49.4% 0.094 163.0);
Tailwind
colors: {
custom: {
50: '#679b82',
500: '#1f7252',
950: '#000000',
},
}SCSS
$custom: #1f7252; $custom-light: #679b82; $custom-dark: #000000;
JSON
{
"hex": "#1f7252",
"rgb": {
"r": 31,
"g": 114,
"b": 82
},
"hsl": {
"h": 156.867,
"s": 57.241,
"l": 28.431
},
"oklch": {
"l": 0.49426,
"c": 0.09404,
"h": 163
},
"luminance": 0.12935
}Semantic roles & 50–950 ramp
primary
#1F7252
secondary
#A6476C
accent
#4782E0
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E0A
muted
#7A7E7C