#1F7D54#1F7D54

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

Color values

HEX#1F7D54
RGBrgb(31, 125, 84)
HSLhsl(154, 60%, 31%)
HSVhsv(154, 75%, 49%)
CMYKcmyk(75.2%, 0%, 32.8%, 51%)
CIE-LABlab(46.44, -37.12, 14.81)
CIE-LCHlch(46.44, 39.97, 158.26°)
OKLaboklab(52.54% -0.101 0.0375)
OKLCHoklch(52.54% 0.108 159.6)
XYZxyz(9.4980, 15.5975, 10.8958)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7D54 #7D1F48
analogous
#1F7D25 #1F7D54 #1F777D
triadic
#1F7D54 #541F7D #7D541F
tetradic
#1F7D54 #251F7D #7D1F48 #777D1F
square
#1F7D54 #251F7D #7D1F48 #777D1F
split-complementary
#1F7D54 #7D1F77 #7D251F
monochromatic
#071B12 #134C33 #1F7D54 #2BAE75 #45D194

Accessibility & contrast

On white

5.10
#1F7D54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#1F7D54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7D54
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7D54#FFFFFF#000000##FFFFFF
##1F7D541.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f7d54;
/* rgb */ color: rgb(31, 125, 84);
/* oklch */ color: oklch(52.5% 0.108 159.6);
Tailwind
colors: {
  custom: {
    50: '#69a384',
    500: '#1f7d54',
    950: '#000000',
  },
}
SCSS
$custom: #1f7d54;
$custom-light: #69a384;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7d54",
  "rgb": {
    "r": 31,
    "g": 125,
    "b": 84
  },
  "hsl": {
    "h": 153.83,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52544,
    "c": 0.1077,
    "h": 159.6
  },
  "luminance": 0.15599
}

Semantic roles & 50–950 ramp

primary
#1F7D54
secondary
#B04875
accent
#448AE3
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #1F7D54

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

Preview Lab → · Contrast checker → · Palette generator →

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