#1F8152#1F8152

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

Color values

HEX#1F8152
RGBrgb(31, 129, 82)
HSLhsl(151, 61%, 31%)
HSVhsv(151, 76%, 51%)
CMYKcmyk(76%, 0%, 36.4%, 49.4%)
CIE-LABlab(47.75, -39.24, 17.73)
CIE-LCHlch(47.75, 43.07, 155.68°)
OKLaboklab(53.61% -0.1062 0.0446)
OKLCHoklch(53.61% 0.115 157.2)
XYZxyz(9.9373, 16.5999, 10.6614)
Luminance0.1660 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8152 #811F4E
analogous
#1F8121 #1F8152 #1F7F81
triadic
#1F8152 #521F81 #81521F
tetradic
#1F8152 #211F81 #811F4E #7F811F
square
#1F8152 #211F81 #811F4E #7F811F
split-complementary
#1F8152 #811F7F #81211F
monochromatic
#071E13 #135033 #1F8152 #2BB271 #47D390

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8152#FFFFFF#000000##FFFFFF
##1F81521.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)
#80764F
Deuteranopia (green-blind)
#746E55
Tritanopia (blue-blind)
#008075
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f8152;
/* rgb */ color: rgb(31, 129, 82);
/* oklch */ color: oklch(53.6% 0.115 157.2);
Tailwind
colors: {
  custom: {
    50: '#6aa683',
    500: '#1f8152',
    950: '#000000',
  },
}
SCSS
$custom: #1f8152;
$custom-light: #6aa683;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8152",
  "rgb": {
    "r": 31,
    "g": 129,
    "b": 82
  },
  "hsl": {
    "h": 151.224,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53609,
    "c": 0.11522,
    "h": 157.2
  },
  "luminance": 0.16601
}

Semantic roles & 50–950 ramp

primary
#1F8152
secondary
#B4487C
accent
#4391E4
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #1F8152

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

Preview Lab → · Contrast checker → · Palette generator →

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