#1F8151#1F8151

#1F8151 is a mid, moderate teal. Relative luminance 0.166; OKLCH L 53.6% C 0.116 H 156.7°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#1F8151
RGBrgb(31, 129, 81)
HSLhsl(151, 61%, 31%)
HSVhsv(151, 76%, 51%)
CMYKcmyk(76%, 0%, 37.2%, 49.4%)
CIE-LABlab(47.73, -39.46, 18.28)
CIE-LCHlch(47.73, 43.49, 155.15°)
OKLaboklab(53.59% -0.1067 0.0459)
OKLCHoklch(53.59% 0.116 156.7)
XYZxyz(9.8996, 16.5847, 10.4624)
Luminance0.1659 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8151 #811F4F
analogous
#1F8120 #1F8151 #1F8081
triadic
#1F8151 #511F81 #81511F
tetradic
#1F8151 #201F81 #811F4F #80811F
square
#1F8151 #201F81 #811F4F #80811F
split-complementary
#1F8151 #811F80 #81201F
monochromatic
#071E13 #135032 #1F8151 #2BB270 #47D38F

Accessibility & contrast

On white

4.86
#1F8151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#1F8151 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8151
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8151#FFFFFF#000000##FFFFFF
##1F81511.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80764E
Deuteranopia (green-blind)
#746E54
Tritanopia (blue-blind)
#008075
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f8151;
/* rgb */ color: rgb(31, 129, 81);
/* oklch */ color: oklch(53.6% 0.116 156.7);
Tailwind
colors: {
  custom: {
    50: '#6aa682',
    500: '#1f8151',
    950: '#000000',
  },
}
SCSS
$custom: #1f8151;
$custom-light: #6aa682;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8151",
  "rgb": {
    "r": 31,
    "g": 129,
    "b": 81
  },
  "hsl": {
    "h": 150.612,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53587,
    "c": 0.11619,
    "h": 156.7
  },
  "luminance": 0.16586
}

Semantic roles & 50–950 ramp

primary
#1F8151
secondary
#B4487D
accent
#4392E4
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #1F8151

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

Preview Lab → · Contrast checker → · Palette generator →

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