#1F8158#1F8158

#1F8158 is a mid, moderate teal. Relative luminance 0.167; OKLCH L 53.8% C 0.110 H 160.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#1F8158
RGBrgb(31, 129, 88)
HSLhsl(155, 61%, 31%)
HSVhsv(155, 76%, 51%)
CMYKcmyk(76%, 0%, 31.8%, 49.4%)
CIE-LABlab(47.87, -37.90, 14.46)
CIE-LCHlch(47.87, 40.57, 159.12°)
OKLaboklab(53.75% -0.1032 0.0367)
OKLCHoklch(53.75% 0.11 160.4)
XYZxyz(10.1757, 16.6952, 11.9168)
Luminance0.1670 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8158 #811F48
analogous
#1F8127 #1F8158 #1F7981
triadic
#1F8158 #581F81 #81581F
tetradic
#1F8158 #271F81 #811F48 #79811F
square
#1F8158 #271F81 #811F48 #79811F
split-complementary
#1F8158 #811F79 #81271F
monochromatic
#071E15 #135036 #1F8158 #2BB27A #47D399

Accessibility & contrast

On white

4.84
#1F8158 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#1F8158 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8158
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8158#FFFFFF#000000##FFFFFF
##1F81581.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7756
Deuteranopia (green-blind)
#736E5B
Tritanopia (blue-blind)
#008076
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f8158;
/* rgb */ color: rgb(31, 129, 88);
/* oklch */ color: oklch(53.8% 0.110 160.4);
Tailwind
colors: {
  custom: {
    50: '#6aa687',
    500: '#1f8158',
    950: '#000000',
  },
}
SCSS
$custom: #1f8158;
$custom-light: #6aa687;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8158",
  "rgb": {
    "r": 31,
    "g": 129,
    "b": 88
  },
  "hsl": {
    "h": 154.898,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5375,
    "c": 0.10953,
    "h": 160.4
  },
  "luminance": 0.16696
}

Semantic roles & 50–950 ramp

primary
#1F8158
secondary
#B44875
accent
#4387E4
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #1F8158

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

Preview Lab → · Contrast checker → · Palette generator →

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