#1F835E#1F835E

#1F835E is a mid, moderate teal. Relative luminance 0.173; OKLCH L 54.5% C 0.107 H 163.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#1F835E
RGBrgb(31, 131, 94)
HSLhsl(158, 62%, 32%)
HSVhsv(158, 76%, 51%)
CMYKcmyk(76.3%, 0%, 28.2%, 48.6%)
CIE-LABlab(48.67, -37.34, 12.10)
CIE-LCHlch(48.67, 39.25, 162.04°)
OKLaboklab(54.45% -0.1023 0.0308)
OKLCHoklch(54.45% 0.107 163.2)
XYZxyz(10.7006, 17.3308, 13.3687)
Luminance0.1733 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F835E #831F44
analogous
#1F832C #1F835E #1F7683
triadic
#1F835E #5E1F83 #835E1F
tetradic
#1F835E #2C1F83 #831F44 #76831F
square
#1F835E #2C1F83 #831F44 #76831F
split-complementary
#1F835E #831F76 #832C1F
monochromatic
#082017 #13523A #1F835E #2BB482 #49D4A0

Accessibility & contrast

On white

4.70
#1F835E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#1F835E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F835E
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F835E#FFFFFF#000000##FFFFFF
##1F835E1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81795C
Deuteranopia (green-blind)
#747060
Tritanopia (blue-blind)
#008379
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f835e;
/* rgb */ color: rgb(31, 131, 94);
/* oklch */ color: oklch(54.5% 0.107 163.2);
Tailwind
colors: {
  custom: {
    50: '#6ba88b',
    500: '#1f835e',
    950: '#000000',
  },
}
SCSS
$custom: #1f835e;
$custom-light: #6ba88b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f835e",
  "rgb": {
    "r": 31,
    "g": 131,
    "b": 94
  },
  "hsl": {
    "h": 157.8,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54451,
    "c": 0.10684,
    "h": 163.2
  },
  "luminance": 0.17332
}

Semantic roles & 50–950 ramp

primary
#1F835E
secondary
#B64871
accent
#437FE5
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#08100C
muted
#7A7F7D

Preview Lab

Preview with #1F835E

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

Preview Lab → · Contrast checker → · Palette generator →

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