#1F7C4E#1F7C4E

#1F7C4E is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.1% C 0.112 H 156.7°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#1F7C4E
RGBrgb(31, 124, 78)
HSLhsl(150, 60%, 30%)
HSVhsv(150, 75%, 49%)
CMYKcmyk(75%, 0%, 37.1%, 51.4%)
CIE-LABlab(45.98, -38.03, 17.64)
CIE-LCHlch(45.98, 41.93, 155.12°)
OKLaboklab(52.13% -0.1029 0.0443)
OKLCHoklch(52.13% 0.112 156.7)
XYZxyz(9.1470, 15.2556, 9.6688)
Luminance0.1526 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7C4E #7C1F4D
analogous
#1F7C20 #1F7C4E #1F7B7C
triadic
#1F7C4E #4E1F7C #7C4E1F
tetradic
#1F7C4E #201F7C #7C1F4D #7B7C1F
square
#1F7C4E #201F7C #7C1F4D #7B7C1F
split-complementary
#1F7C4E #7C1F7B #7C201F
monochromatic
#071A10 #134B2F #1F7C4E #2BAD6D #45D08B

Accessibility & contrast

On white

5.18
#1F7C4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#1F7C4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7C4E
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7C4E#FFFFFF#000000##FFFFFF
##1F7C4E1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B724B
Deuteranopia (green-blind)
#706A51
Tritanopia (blue-blind)
#007B70
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f7c4e;
/* rgb */ color: rgb(31, 124, 78);
/* oklch */ color: oklch(52.1% 0.112 156.7);
Tailwind
colors: {
  custom: {
    50: '#69a380',
    500: '#1f7c4e',
    950: '#000000',
  },
}
SCSS
$custom: #1f7c4e;
$custom-light: #69a380;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7c4e",
  "rgb": {
    "r": 31,
    "g": 124,
    "b": 78
  },
  "hsl": {
    "h": 150.323,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52126,
    "c": 0.11206,
    "h": 156.7
  },
  "luminance": 0.15257
}

Semantic roles & 50–950 ramp

primary
#1F7C4E
secondary
#AF487B
accent
#4593E3
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #1F7C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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