#1F8255#1F8255

#1F8255 is a mid, moderate teal. Relative luminance 0.169; OKLCH L 54.0% C 0.114 H 158.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#1F8255
RGBrgb(31, 130, 85)
HSLhsl(153, 61%, 32%)
HSVhsv(153, 76%, 51%)
CMYKcmyk(76.2%, 0%, 34.6%, 49%)
CIE-LABlab(48.15, -39.00, 16.56)
CIE-LCHlch(48.15, 42.37, 157.00°)
OKLaboklab(53.96% -0.1058 0.0418)
OKLCHoklch(53.96% 0.114 158.4)
XYZxyz(10.1864, 16.9113, 11.3199)
Luminance0.1691 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8255 #821F4C
analogous
#1F8223 #1F8255 #1F7E82
triadic
#1F8255 #551F82 #82551F
tetradic
#1F8255 #231F82 #821F4C #7E821F
square
#1F8255 #231F82 #821F4C #7E821F
split-complementary
#1F8255 #821F7E #82231F
monochromatic
#071F14 #135135 #1F8255 #2BB375 #48D394

Accessibility & contrast

On white

4.79
#1F8255 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#1F8255 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8255
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8255#FFFFFF#000000##FFFFFF
##1F82551.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817752
Deuteranopia (green-blind)
#756F58
Tritanopia (blue-blind)
#008176
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f8255;
/* rgb */ color: rgb(31, 130, 85);
/* oklch */ color: oklch(54.0% 0.114 158.4);
Tailwind
colors: {
  custom: {
    50: '#6aa785',
    500: '#1f8255',
    950: '#000000',
  },
}
SCSS
$custom: #1f8255;
$custom-light: #6aa785;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8255",
  "rgb": {
    "r": 31,
    "g": 130,
    "b": 85
  },
  "hsl": {
    "h": 152.727,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53955,
    "c": 0.11374,
    "h": 158.4
  },
  "luminance": 0.16912
}

Semantic roles & 50–950 ramp

primary
#1F8255
secondary
#B54879
accent
#438DE5
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #1F8255

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

Preview Lab → · Contrast checker → · Palette generator →

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