#1F7D52#1F7D52

#1F7D52 is a mid, moderate teal. Relative luminance 0.156; OKLCH L 52.5% C 0.110 H 158.5°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#1F7D52
RGBrgb(31, 125, 82)
HSLhsl(153, 60%, 31%)
HSVhsv(153, 75%, 49%)
CMYKcmyk(75.2%, 0%, 34.4%, 51%)
CIE-LABlab(46.40, -37.57, 15.90)
CIE-LCHlch(46.40, 40.80, 157.06°)
OKLaboklab(52.5% -0.102 0.0402)
OKLCHoklch(52.5% 0.11 158.5)
XYZxyz(9.4207, 15.5666, 10.4892)
Luminance0.1557 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7D52 #7D1F4A
analogous
#1F7D23 #1F7D52 #1F797D
triadic
#1F7D52 #521F7D #7D521F
tetradic
#1F7D52 #231F7D #7D1F4A #797D1F
square
#1F7D52 #231F7D #7D1F4A #797D1F
split-complementary
#1F7D52 #7D1F79 #7D231F
monochromatic
#071B12 #134C32 #1F7D52 #2BAE72 #45D191

Accessibility & contrast

On white

5.11
#1F7D52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#1F7D52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7D52
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7D52#FFFFFF#000000##FFFFFF
##1F7D521.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C734F
Deuteranopia (green-blind)
#706B55
Tritanopia (blue-blind)
#007C72
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f7d52;
/* rgb */ color: rgb(31, 125, 82);
/* oklch */ color: oklch(52.5% 0.110 158.5);
Tailwind
colors: {
  custom: {
    50: '#69a383',
    500: '#1f7d52',
    950: '#000000',
  },
}
SCSS
$custom: #1f7d52;
$custom-light: #69a383;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7d52",
  "rgb": {
    "r": 31,
    "g": 125,
    "b": 82
  },
  "hsl": {
    "h": 152.553,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52497,
    "c": 0.1096,
    "h": 158.5
  },
  "luminance": 0.15568
}

Semantic roles & 50–950 ramp

primary
#1F7D52
secondary
#B04877
accent
#448DE3
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #1F7D52

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

Preview Lab → · Contrast checker → · Palette generator →

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