#1F7950#1F7950

#1F7950 is a mid, moderate teal. Relative luminance 0.145; OKLCH L 51.3% C 0.106 H 158.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#1F7950
RGBrgb(31, 121, 80)
HSLhsl(153, 59%, 30%)
HSVhsv(153, 74%, 47%)
CMYKcmyk(74.4%, 0%, 33.9%, 52.5%)
CIE-LABlab(45.00, -36.33, 15.16)
CIE-LCHlch(45.00, 39.36, 157.35°)
OKLaboklab(51.33% -0.0987 0.0383)
OKLCHoklch(51.33% 0.106 158.8)
XYZxyz(8.8495, 14.5442, 9.9288)
Luminance0.1454 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7950 #791F48
analogous
#1F7923 #1F7950 #1F7579
triadic
#1F7950 #501F79 #79501F
tetradic
#1F7950 #231F79 #791F48 #75791F
square
#1F7950 #231F79 #791F48 #75791F
split-complementary
#1F7950 #791F75 #79231F
monochromatic
#061810 #134830 #1F7950 #2BAA70 #43CF8F

Accessibility & contrast

On white

5.37
#1F7950 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#1F7950 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7950
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7950#FFFFFF#000000##FFFFFF
##1F79501.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786F4D
Deuteranopia (green-blind)
#6C6753
Tritanopia (blue-blind)
#00786E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1f7950;
/* rgb */ color: rgb(31, 121, 80);
/* oklch */ color: oklch(51.3% 0.106 158.8);
Tailwind
colors: {
  custom: {
    50: '#68a081',
    500: '#1f7950',
    950: '#000000',
  },
}
SCSS
$custom: #1f7950;
$custom-light: #68a081;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7950",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 80
  },
  "hsl": {
    "h": 152.667,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51333,
    "c": 0.10586,
    "h": 158.8
  },
  "luminance": 0.14545
}

Semantic roles & 50–950 ramp

primary
#1F7950
secondary
#AC4775
accent
#458DE2
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #1F7950

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

Preview Lab → · Contrast checker → · Palette generator →

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