#1F8552#1F8552

#1F8552 is a mid, vivid teal. Relative luminance 0.177; OKLCH L 54.7% C 0.121 H 156.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#1F8552
RGBrgb(31, 133, 82)
HSLhsl(150, 62%, 32%)
HSVhsv(150, 77%, 52%)
CMYKcmyk(76.7%, 0%, 38.3%, 47.8%)
CIE-LABlab(49.10, -40.88, 19.54)
CIE-LCHlch(49.10, 45.31, 154.45°)
OKLaboklab(54.72% -0.1104 0.049)
OKLCHoklch(54.72% 0.121 156.1)
XYZxyz(10.4746, 17.6743, 10.8405)
Luminance0.1768 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8552 #851F52
analogous
#1F851F #1F8552 #1F8585
triadic
#1F8552 #521F85 #85521F
tetradic
#1F8552 #1F1F85 #851F52 #85851F
square
#1F8552 #1F1F85 #851F52 #85851F
split-complementary
#1F8552 #851F85 #851F1F
monochromatic
#082215 #135333 #1F8552 #2BB771 #4AD58F

Accessibility & contrast

On white

4.63
#1F8552 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#1F8552 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8552
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8552#FFFFFF#000000##FFFFFF
##1F85521.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847A4F
Deuteranopia (green-blind)
#787155
Tritanopia (blue-blind)
#008478
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1f8552;
/* rgb */ color: rgb(31, 133, 82);
/* oklch */ color: oklch(54.7% 0.121 156.1);
Tailwind
colors: {
  custom: {
    50: '#6ba983',
    500: '#1f8552',
    950: '#000000',
  },
}
SCSS
$custom: #1f8552;
$custom-light: #6ba983;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8552",
  "rgb": {
    "r": 31,
    "g": 133,
    "b": 82
  },
  "hsl": {
    "h": 150,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54719,
    "c": 0.12081,
    "h": 156.1
  },
  "luminance": 0.17676
}

Semantic roles & 50–950 ramp

primary
#1F8552
secondary
#B74980
accent
#4394E5
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #1F8552

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#1F8552 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva