#1F7C52#1F7C52

#1F7C52 is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.2% C 0.108 H 158.9°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#1F7C52
RGBrgb(31, 124, 82)
HSLhsl(153, 60%, 30%)
HSVhsv(153, 75%, 49%)
CMYKcmyk(75%, 0%, 33.9%, 51.4%)
CIE-LABlab(46.06, -37.15, 15.44)
CIE-LCHlch(46.06, 40.23, 157.43°)
OKLaboklab(52.22% -0.1009 0.039)
OKLCHoklch(52.22% 0.108 158.9)
XYZxyz(9.2948, 15.3147, 10.4472)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7C52 #7C1F49
analogous
#1F7C23 #1F7C52 #1F777C
triadic
#1F7C52 #521F7C #7C521F
tetradic
#1F7C52 #231F7C #7C1F49 #777C1F
square
#1F7C52 #231F7C #7C1F49 #777C1F
split-complementary
#1F7C52 #7C1F77 #7C231F
monochromatic
#071A11 #134B32 #1F7C52 #2BAD72 #45D091

Accessibility & contrast

On white

5.17
#1F7C52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#1F7C52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7C52
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7C52#FFFFFF#000000##FFFFFF
##1F7C521.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B724F
Deuteranopia (green-blind)
#6F6A55
Tritanopia (blue-blind)
#007B71
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f7c52;
/* rgb */ color: rgb(31, 124, 82);
/* oklch */ color: oklch(52.2% 0.108 158.9);
Tailwind
colors: {
  custom: {
    50: '#69a383',
    500: '#1f7c52',
    950: '#000000',
  },
}
SCSS
$custom: #1f7c52;
$custom-light: #69a383;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7c52",
  "rgb": {
    "r": 31,
    "g": 124,
    "b": 82
  },
  "hsl": {
    "h": 152.903,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52218,
    "c": 0.1082,
    "h": 158.9
  },
  "luminance": 0.15316
}

Semantic roles & 50–950 ramp

primary
#1F7C52
secondary
#AF4876
accent
#458CE3
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #1F7C52

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

Preview Lab → · Contrast checker → · Palette generator →

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