#1F8052#1F8052

#1F8052 is a mid, moderate teal. Relative luminance 0.163; OKLCH L 53.3% C 0.114 H 157.5°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#1F8052
RGBrgb(31, 128, 82)
HSLhsl(152, 61%, 31%)
HSVhsv(152, 76%, 50%)
CMYKcmyk(75.8%, 0%, 35.9%, 49.8%)
CIE-LABlab(47.41, -38.83, 17.28)
CIE-LCHlch(47.41, 42.50, 156.01°)
OKLaboklab(53.33% -0.1052 0.0435)
OKLCHoklch(53.33% 0.114 157.5)
XYZxyz(9.8063, 16.3377, 10.6177)
Luminance0.1634 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8052 #801F4D
analogous
#1F8021 #1F8052 #1F7D80
triadic
#1F8052 #521F80 #80521F
tetradic
#1F8052 #211F80 #801F4D #7D801F
square
#1F8052 #211F80 #801F4D #7D801F
split-complementary
#1F8052 #801F7D #80211F
monochromatic
#071D13 #134F32 #1F8052 #2BB172 #47D290

Accessibility & contrast

On white

4.92
#1F8052 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#1F8052 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8052
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8052#FFFFFF#000000##FFFFFF
##1F80521.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F764F
Deuteranopia (green-blind)
#736D55
Tritanopia (blue-blind)
#007F74
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1f8052;
/* rgb */ color: rgb(31, 128, 82);
/* oklch */ color: oklch(53.3% 0.114 157.5);
Tailwind
colors: {
  custom: {
    50: '#6aa683',
    500: '#1f8052',
    950: '#000000',
  },
}
SCSS
$custom: #1f8052;
$custom-light: #6aa683;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8052",
  "rgb": {
    "r": 31,
    "g": 128,
    "b": 82
  },
  "hsl": {
    "h": 151.546,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53331,
    "c": 0.11382,
    "h": 157.5
  },
  "luminance": 0.16339
}

Semantic roles & 50–950 ramp

primary
#1F8052
secondary
#B3487B
accent
#4490E4
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #1F8052

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

Preview Lab → · Contrast checker → · Palette generator →

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