#1F8F5F#1F8F5F

#1F8F5F is a mid, vivid teal. Relative luminance 0.208; OKLCH L 57.8% C 0.122 H 159.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#1F8F5F
RGBrgb(31, 143, 95)
HSLhsl(154, 64%, 34%)
HSVhsv(154, 78%, 56%)
CMYKcmyk(78.3%, 0%, 33.6%, 43.9%)
CIE-LABlab(52.69, -42.12, 17.06)
CIE-LCHlch(52.69, 45.45, 157.95°)
OKLaboklab(57.76% -0.1143 0.0431)
OKLCHoklch(57.76% 0.122 159.3)
XYZxyz(12.4518, 20.7610, 14.1753)
Luminance0.2076 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8F5F #8F1F4F
analogous
#1F8F27 #1F8F5F #1F878F
triadic
#1F8F5F #5F1F8F #8F5F1F
tetradic
#1F8F5F #271F8F #8F1F4F #878F1F
square
#1F8F5F #271F8F #8F1F4F #878F1F
split-complementary
#1F8F5F #8F1F87 #8F271F
monochromatic
#092A1C #145D3E #1F8F5F #2AC180 #4FD99E

Accessibility & contrast

On white

4.08
#1F8F5F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#1F8F5F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8F5F
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8F5F#FFFFFF#000000##000000
##1F8F5F1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D845C
Deuteranopia (green-blind)
#807A62
Tritanopia (blue-blind)
#008E82
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #1f8f5f;
/* rgb */ color: rgb(31, 143, 95);
/* oklch */ color: oklch(57.8% 0.122 159.3);
Tailwind
colors: {
  custom: {
    50: '#6eb18c',
    500: '#1f8f5f',
    950: '#000000',
  },
}
SCSS
$custom: #1f8f5f;
$custom-light: #6eb18c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8f5f",
  "rgb": {
    "r": 31,
    "g": 143,
    "b": 95
  },
  "hsl": {
    "h": 154.286,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57759,
    "c": 0.12219,
    "h": 159.3
  },
  "luminance": 0.20762
}

Semantic roles & 50–950 ramp

primary
#1F8F5F
secondary
#BC4E7D
accent
#4088E7
background
#F7FBF8
surface
#EDF6F0
border
#C8D0CB
text
#08110C
muted
#7B807D

Preview Lab

Preview with #1F8F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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