#1F8352#1F8352

#1F8352 is a mid, moderate teal. Relative luminance 0.171; OKLCH L 54.2% C 0.118 H 156.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#1F8352
RGBrgb(31, 131, 82)
HSLhsl(151, 62%, 32%)
HSVhsv(151, 76%, 51%)
CMYKcmyk(76.3%, 0%, 37.4%, 48.6%)
CIE-LABlab(48.43, -40.07, 18.64)
CIE-LCHlch(48.43, 44.19, 155.05°)
OKLaboklab(54.17% -0.1083 0.0468)
OKLCHoklch(54.17% 0.118 156.6)
XYZxyz(10.2034, 17.1319, 10.7500)
Luminance0.1713 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8352 #831F50
analogous
#1F8320 #1F8352 #1F8283
triadic
#1F8352 #521F83 #83521F
tetradic
#1F8352 #201F83 #831F50 #82831F
square
#1F8352 #201F83 #831F50 #82831F
split-complementary
#1F8352 #831F82 #83201F
monochromatic
#082014 #135233 #1F8352 #2BB471 #49D490

Accessibility & contrast

On white

4.74
#1F8352 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#1F8352 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8352
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8352#FFFFFF#000000##FFFFFF
##1F83521.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82784F
Deuteranopia (green-blind)
#766F55
Tritanopia (blue-blind)
#008276
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1f8352;
/* rgb */ color: rgb(31, 131, 82);
/* oklch */ color: oklch(54.2% 0.118 156.6);
Tailwind
colors: {
  custom: {
    50: '#6ba883',
    500: '#1f8352',
    950: '#000000',
  },
}
SCSS
$custom: #1f8352;
$custom-light: #6ba883;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8352",
  "rgb": {
    "r": 31,
    "g": 131,
    "b": 82
  },
  "hsl": {
    "h": 150.6,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54165,
    "c": 0.11802,
    "h": 156.6
  },
  "luminance": 0.17133
}

Semantic roles & 50–950 ramp

primary
#1F8352
secondary
#B6487E
accent
#4392E5
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#07100A
muted
#7A7F7C

Preview Lab

Preview with #1F8352

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

Preview Lab → · Contrast checker → · Palette generator →

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