#1F7249#1F7249

#1F7249 is a mid, moderate teal. Relative luminance 0.128; OKLCH L 49.2% C 0.103 H 157.2°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#1F7249
RGBrgb(31, 114, 73)
HSLhsl(150, 57%, 28%)
HSVhsv(150, 73%, 45%)
CMYKcmyk(72.8%, 0%, 36%, 55.3%)
CIE-LABlab(42.47, -34.89, 15.79)
CIE-LCHlch(42.47, 38.30, 155.65°)
OKLaboklab(49.2% -0.0946 0.0398)
OKLCHoklch(49.2% 0.103 157.2)
XYZxyz(7.7842, 12.8061, 8.3636)
Luminance0.1281 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7249 #721F48
analogous
#1F721F #1F7249 #1F7172
triadic
#1F7249 #491F72 #72491F
tetradic
#1F7249 #1F1F72 #721F48 #71721F
square
#1F7249 #1F1F72 #721F48 #71721F
split-complementary
#1F7249 #721F71 #721F1F
monochromatic
#07180F #12422A #1F7249 #2CA268 #40CB87

Accessibility & contrast

On white

5.90
#1F7249 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#1F7249 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7249
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7249#FFFFFF#000000##FFFFFF
##1F72491.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716946
Deuteranopia (green-blind)
#67614C
Tritanopia (blue-blind)
#007167
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1f7249;
/* rgb */ color: rgb(31, 114, 73);
/* oklch */ color: oklch(49.2% 0.103 157.2);
Tailwind
colors: {
  custom: {
    50: '#679b7c',
    500: '#1f7249',
    950: '#000000',
  },
}
SCSS
$custom: #1f7249;
$custom-light: #679b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7249",
  "rgb": {
    "r": 31,
    "g": 114,
    "b": 73
  },
  "hsl": {
    "h": 150.361,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49202,
    "c": 0.10262,
    "h": 157.2
  },
  "luminance": 0.12807
}

Semantic roles & 50–950 ramp

primary
#1F7249
secondary
#A64776
accent
#4793E0
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #1F7249

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

Preview Lab → · Contrast checker → · Palette generator →

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