#1F7E52#1F7E52

#1F7E52 is a mid, moderate teal. Relative luminance 0.158; OKLCH L 52.8% C 0.111 H 158.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#1F7E52
RGBrgb(31, 126, 82)
HSLhsl(152, 61%, 31%)
HSVhsv(152, 75%, 49%)
CMYKcmyk(75.4%, 0%, 34.9%, 50.6%)
CIE-LABlab(46.74, -37.99, 16.36)
CIE-LCHlch(46.74, 41.37, 156.70°)
OKLaboklab(52.78% -0.103 0.0413)
OKLCHoklch(52.78% 0.111 158.2)
XYZxyz(9.5480, 15.8211, 10.5316)
Luminance0.1582 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7E52 #7E1F4B
analogous
#1F7E23 #1F7E52 #1F7A7E
triadic
#1F7E52 #521F7E #7E521F
tetradic
#1F7E52 #231F7E #7E1F4B #7A7E1F
square
#1F7E52 #231F7E #7E1F4B #7A7E1F
split-complementary
#1F7E52 #7E1F7A #7E231F
monochromatic
#071C12 #134D32 #1F7E52 #2BAF72 #46D191

Accessibility & contrast

On white

5.04
#1F7E52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#1F7E52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7E52
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7E52#FFFFFF#000000##FFFFFF
##1F7E521.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D744F
Deuteranopia (green-blind)
#716B55
Tritanopia (blue-blind)
#007D73
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f7e52;
/* rgb */ color: rgb(31, 126, 82);
/* oklch */ color: oklch(52.8% 0.111 158.2);
Tailwind
colors: {
  custom: {
    50: '#6aa483',
    500: '#1f7e52',
    950: '#000000',
  },
}
SCSS
$custom: #1f7e52;
$custom-light: #6aa483;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7e52",
  "rgb": {
    "r": 31,
    "g": 126,
    "b": 82
  },
  "hsl": {
    "h": 152.211,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52775,
    "c": 0.11101,
    "h": 158.2
  },
  "luminance": 0.15822
}

Semantic roles & 50–950 ramp

primary
#1F7E52
secondary
#B14879
accent
#448EE4
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #1F7E52

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

Preview Lab → · Contrast checker → · Palette generator →

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