#1F845E#1F845E

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

Color values

HEX#1F845E
RGBrgb(31, 132, 94)
HSLhsl(157, 62%, 32%)
HSVhsv(157, 77%, 52%)
CMYKcmyk(76.5%, 0%, 28.8%, 48.2%)
CIE-LABlab(49.01, -37.77, 12.57)
CIE-LCHlch(49.01, 39.80, 161.59°)
OKLaboklab(54.73% -0.1033 0.032)
OKLCHoklch(54.73% 0.108 162.8)
XYZxyz(10.8355, 17.6007, 13.4137)
Luminance0.1760 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F845E #841F45
analogous
#1F842C #1F845E #1F7884
triadic
#1F845E #5E1F84 #845E1F
tetradic
#1F845E #2C1F84 #841F45 #78841F
square
#1F845E #2C1F84 #841F45 #78841F
split-complementary
#1F845E #841F78 #842C1F
monochromatic
#082117 #13523B #1F845E #2BB681 #49D4A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F845E#FFFFFF#000000##FFFFFF
##1F845E1.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)
#827A5C
Deuteranopia (green-blind)
#757160
Tritanopia (blue-blind)
#00847A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f845e;
/* rgb */ color: rgb(31, 132, 94);
/* oklch */ color: oklch(54.7% 0.108 162.8);
Tailwind
colors: {
  custom: {
    50: '#6ba88b',
    500: '#1f845e',
    950: '#000000',
  },
}
SCSS
$custom: #1f845e;
$custom-light: #6ba88b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f845e",
  "rgb": {
    "r": 31,
    "g": 132,
    "b": 94
  },
  "hsl": {
    "h": 157.426,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54725,
    "c": 0.10819,
    "h": 162.8
  },
  "luminance": 0.17602
}

Semantic roles & 50–950 ramp

primary
#1F845E
secondary
#B74872
accent
#4380E5
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#08100C
muted
#7A7F7D

Preview Lab

Preview with #1F845E

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

Preview Lab → · Contrast checker → · Palette generator →

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