#1F7B4E#1F7B4E

#1F7B4E is a mid, moderate teal. Relative luminance 0.150; OKLCH L 51.8% C 0.111 H 157.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#1F7B4E
RGBrgb(31, 123, 78)
HSLhsl(151, 60%, 30%)
HSVhsv(151, 75%, 48%)
CMYKcmyk(74.8%, 0%, 36.6%, 51.8%)
CIE-LABlab(45.64, -37.62, 17.18)
CIE-LCHlch(45.64, 41.35, 155.45°)
OKLaboklab(51.85% -0.1019 0.0432)
OKLCHoklch(51.85% 0.111 157)
XYZxyz(9.0223, 15.0062, 9.6272)
Luminance0.1501 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7B4E #7B1F4C
analogous
#1F7B20 #1F7B4E #1F7A7B
triadic
#1F7B4E #4E1F7B #7B4E1F
tetradic
#1F7B4E #201F7B #7B1F4C #7A7B1F
square
#1F7B4E #201F7B #7B1F4C #7A7B1F
split-complementary
#1F7B4E #7B1F7A #7B201F
monochromatic
#061910 #134A2F #1F7B4E #2BAC6D #44D08C

Accessibility & contrast

On white

5.25
#1F7B4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#1F7B4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7B4E
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7B4E#FFFFFF#000000##FFFFFF
##1F7B4E1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A714B
Deuteranopia (green-blind)
#6F6951
Tritanopia (blue-blind)
#007A6F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1f7b4e;
/* rgb */ color: rgb(31, 123, 78);
/* oklch */ color: oklch(51.8% 0.111 157.0);
Tailwind
colors: {
  custom: {
    50: '#69a280',
    500: '#1f7b4e',
    950: '#000000',
  },
}
SCSS
$custom: #1f7b4e;
$custom-light: #69a280;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7b4e",
  "rgb": {
    "r": 31,
    "g": 123,
    "b": 78
  },
  "hsl": {
    "h": 150.652,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51846,
    "c": 0.11065,
    "h": 157
  },
  "luminance": 0.15007
}

Semantic roles & 50–950 ramp

primary
#1F7B4E
secondary
#AE487A
accent
#4592E3
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #1F7B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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