#1F8152#1F8152
#1F8152 is a mid, moderate teal. Relative luminance 0.166; OKLCH L 53.6% C 0.115 H 157.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #1F8152 |
|---|---|
| RGB | rgb(31, 129, 82) |
| HSL | hsl(151, 61%, 31%) |
| HSV | hsv(151, 76%, 51%) |
| CMYK | cmyk(76%, 0%, 36.4%, 49.4%) |
| CIE-LAB | lab(47.75, -39.24, 17.73) |
| CIE-LCH | lch(47.75, 43.07, 155.68°) |
| OKLab | oklab(53.61% -0.1062 0.0446) |
| OKLCH | oklch(53.61% 0.115 157.2) |
| XYZ | xyz(9.9373, 16.5999, 10.6614) |
| Luminance | 0.1660 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Dark Sea Green
#11875D
ΔE00 2.93
Jungle Green
#048243
ΔE00 3.64
Sea Green
#2E8B57
ΔE00 3.94
Darkish Green
#287C37
ΔE00 5.94
Viridian
#1E9167
ΔE00 6.25
Dark Sage
#598556
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F8152 #811F4E
analogous
#1F8121 #1F8152 #1F7F81
triadic
#1F8152 #521F81 #81521F
tetradic
#1F8152 #211F81 #811F4E #7F811F
square
#1F8152 #211F81 #811F4E #7F811F
split-complementary
#1F8152 #811F7F #81211F
monochromatic
#071E13 #135033 #1F8152 #2BB271 #47D390
Accessibility & contrast
On white
4.86
#1F8152 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#1F8152 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F8152
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F8152 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F8152 | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#80764F
Deuteranopia (green-blind)
#746E55
Tritanopia (blue-blind)
#008075
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #1f8152; /* rgb */ color: rgb(31, 129, 82); /* oklch */ color: oklch(53.6% 0.115 157.2);
Tailwind
colors: {
custom: {
50: '#6aa683',
500: '#1f8152',
950: '#000000',
},
}SCSS
$custom: #1f8152; $custom-light: #6aa683; $custom-dark: #000000;
JSON
{
"hex": "#1f8152",
"rgb": {
"r": 31,
"g": 129,
"b": 82
},
"hsl": {
"h": 151.224,
"s": 61.25,
"l": 31.373
},
"oklch": {
"l": 0.53609,
"c": 0.11522,
"h": 157.2
},
"luminance": 0.16601
}Semantic roles & 50–950 ramp
primary
#1F8152
secondary
#B4487C
accent
#4391E4
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#070F0A
muted
#7A7F7C