#1F835D#1F835D

#1F835D is a mid, moderate teal. Relative luminance 0.173; OKLCH L 54.4% C 0.108 H 162.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#1F835D
RGBrgb(31, 131, 93)
HSLhsl(157, 62%, 32%)
HSVhsv(157, 76%, 51%)
CMYKcmyk(76.3%, 0%, 29%, 48.6%)
CIE-LABlab(48.65, -37.58, 12.65)
CIE-LCHlch(48.65, 39.65, 161.40°)
OKLaboklab(54.43% -0.1028 0.0322)
OKLCHoklch(54.43% 0.108 162.6)
XYZxyz(10.6560, 17.3130, 13.1339)
Luminance0.1731 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F835D #831F45
analogous
#1F832B #1F835D #1F7783
triadic
#1F835D #5D1F83 #835D1F
tetradic
#1F835D #2B1F83 #831F45 #77831F
square
#1F835D #2B1F83 #831F45 #77831F
split-complementary
#1F835D #831F77 #832B1F
monochromatic
#082017 #13523A #1F835D #2BB480 #49D49F

Accessibility & contrast

On white

4.71
#1F835D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#1F835D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F835D
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F835D#FFFFFF#000000##FFFFFF
##1F835D1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81795B
Deuteranopia (green-blind)
#74705F
Tritanopia (blue-blind)
#008379
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f835d;
/* rgb */ color: rgb(31, 131, 93);
/* oklch */ color: oklch(54.4% 0.108 162.6);
Tailwind
colors: {
  custom: {
    50: '#6ba88b',
    500: '#1f835d',
    950: '#000000',
  },
}
SCSS
$custom: #1f835d;
$custom-light: #6ba88b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f835d",
  "rgb": {
    "r": 31,
    "g": 131,
    "b": 93
  },
  "hsl": {
    "h": 157.2,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54425,
    "c": 0.10773,
    "h": 162.6
  },
  "luminance": 0.17314
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F835D

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

Preview Lab → · Contrast checker → · Palette generator →

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