#1F7451#1F7451
#1F7451 is a mid, moderate teal. Relative luminance 0.134; OKLCH L 50.0% C 0.098 H 161.4°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7451 |
|---|---|
| RGB | rgb(31, 116, 81) |
| HSL | hsl(155, 58%, 29%) |
| HSV | hsv(155, 73%, 45%) |
| CMYK | cmyk(73.3%, 0%, 30.2%, 54.5%) |
| CIE-LAB | lab(43.32, -33.92, 12.26) |
| CIE-LCH | lch(43.32, 36.07, 160.12°) |
| OKLab | oklab(49.96% -0.0927 0.0312) |
| OKLCH | oklch(49.96% 0.098 161.4) |
| XYZ | xyz(8.2948, 13.3752, 9.9275) |
| Luminance | 0.1338 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Dark Sea Green
#11875D
ΔE00 6.78
Spruce
#0A5F38
ΔE00 7.46
Jungle Green
#048243
ΔE00 7.74
Darkish Green
#287C37
ΔE00 8.56
Hunter Green
#355E3B
ΔE00 8.75
Pine
#2B5D34
ΔE00 8.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7451 #741F42
analogous
#1F7427 #1F7451 #1F6D74
triadic
#1F7451 #511F74 #74511F
tetradic
#1F7451 #271F74 #741F42 #6D741F
square
#1F7451 #271F74 #741F42 #6D741F
split-complementary
#1F7451 #741F6D #74271F
monochromatic
#061811 #12442F #1F7451 #2CA473 #41CC93
Accessibility & contrast
On white
5.71
#1F7451 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#1F7451 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7451
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7451 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7451 | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726B4F
Deuteranopia (green-blind)
#676353
Tritanopia (blue-blind)
#00746B
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #1f7451; /* rgb */ color: rgb(31, 116, 81); /* oklch */ color: oklch(50.0% 0.098 161.4);
Tailwind
colors: {
custom: {
50: '#679d82',
500: '#1f7451',
950: '#000000',
},
}SCSS
$custom: #1f7451; $custom-light: #679d82; $custom-dark: #000000;
JSON
{
"hex": "#1f7451",
"rgb": {
"r": 31,
"g": 116,
"b": 81
},
"hsl": {
"h": 155.294,
"s": 57.823,
"l": 28.824
},
"oklch": {
"l": 0.49959,
"c": 0.0978,
"h": 161.4
},
"luminance": 0.13376
}Semantic roles & 50–950 ramp
primary
#1F7451
secondary
#A8476F
accent
#4786E1
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E0A
muted
#7A7E7C