#1F845D#1F845D

#1F845D is a mid, moderate teal. Relative luminance 0.176; OKLCH L 54.7% C 0.109 H 162.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#1F845D
RGBrgb(31, 132, 93)
HSLhsl(157, 62%, 32%)
HSVhsv(157, 77%, 52%)
CMYKcmyk(76.5%, 0%, 29.5%, 48.2%)
CIE-LABlab(48.99, -38.00, 13.11)
CIE-LCHlch(48.99, 40.20, 160.96°)
OKLaboklab(54.7% -0.1039 0.0334)
OKLCHoklch(54.7% 0.109 162.2)
XYZxyz(10.7910, 17.5829, 13.1789)
Luminance0.1758 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F845D #841F46
analogous
#1F842B #1F845D #1F7984
triadic
#1F845D #5D1F84 #845D1F
tetradic
#1F845D #2B1F84 #841F46 #79841F
square
#1F845D #2B1F84 #841F46 #79841F
split-complementary
#1F845D #841F79 #842B1F
monochromatic
#082117 #13523A #1F845D #2BB680 #49D49F

Accessibility & contrast

On white

4.65
#1F845D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#1F845D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1F845D
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F845D#FFFFFF#000000##FFFFFF
##1F845D1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827A5B
Deuteranopia (green-blind)
#757160
Tritanopia (blue-blind)
#008479
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f845d;
/* rgb */ color: rgb(31, 132, 93);
/* oklch */ color: oklch(54.7% 0.109 162.2);
Tailwind
colors: {
  custom: {
    50: '#6ba88b',
    500: '#1f845d',
    950: '#000000',
  },
}
SCSS
$custom: #1f845d;
$custom-light: #6ba88b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f845d",
  "rgb": {
    "r": 31,
    "g": 132,
    "b": 93
  },
  "hsl": {
    "h": 156.832,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.547,
    "c": 0.10909,
    "h": 162.2
  },
  "luminance": 0.17584
}

Semantic roles & 50–950 ramp

primary
#1F845D
secondary
#B74873
accent
#4381E5
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#08100C
muted
#7A7F7D

Preview Lab

Preview with #1F845D

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

Preview Lab → · Contrast checker → · Palette generator →

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