#1F845F#1F845F

#1F845F is a mid, moderate teal. Relative luminance 0.176; OKLCH L 54.8% C 0.107 H 163.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#1F845F
RGBrgb(31, 132, 95)
HSLhsl(158, 62%, 32%)
HSVhsv(158, 77%, 52%)
CMYKcmyk(76.5%, 0%, 28%, 48.2%)
CIE-LABlab(49.03, -37.53, 12.02)
CIE-LCHlch(49.03, 39.40, 162.24°)
OKLaboklab(54.75% -0.1028 0.0306)
OKLCHoklch(54.75% 0.107 163.4)
XYZxyz(10.8807, 17.6188, 13.6516)
Luminance0.1762 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F845F #841F44
analogous
#1F842D #1F845F #1F7784
triadic
#1F845F #5F1F84 #845F1F
tetradic
#1F845F #2D1F84 #841F44 #77841F
square
#1F845F #2D1F84 #841F44 #77841F
split-complementary
#1F845F #841F77 #842D1F
monochromatic
#082118 #13523B #1F845F #2BB683 #49D4A1

Accessibility & contrast

On white

4.64
#1F845F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F845F
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F845F#FFFFFF#000000##FFFFFF
##1F845F1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827A5D
Deuteranopia (green-blind)
#757161
Tritanopia (blue-blind)
#00847A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f845f;
/* rgb */ color: rgb(31, 132, 95);
/* oklch */ color: oklch(54.8% 0.107 163.4);
Tailwind
colors: {
  custom: {
    50: '#6ba88c',
    500: '#1f845f',
    950: '#000000',
  },
}
SCSS
$custom: #1f845f;
$custom-light: #6ba88c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f845f",
  "rgb": {
    "r": 31,
    "g": 132,
    "b": 95
  },
  "hsl": {
    "h": 158.02,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54751,
    "c": 0.1073,
    "h": 163.4
  },
  "luminance": 0.1762
}

Semantic roles & 50–950 ramp

primary
#1F845F
secondary
#B74871
accent
#437EE5
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#08100C
muted
#7A7F7D

Preview Lab

Preview with #1F845F

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

Preview Lab → · Contrast checker → · Palette generator →

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