#1F7451#1F7451

#1F7451 is a mid, moderate teal. Relative luminance 0.134; OKLCH L 50.0% C 0.098 H 161.4°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#1F7451
RGBrgb(31, 116, 81)
HSLhsl(155, 58%, 29%)
HSVhsv(155, 73%, 45%)
CMYKcmyk(73.3%, 0%, 30.2%, 54.5%)
CIE-LABlab(43.32, -33.92, 12.26)
CIE-LCHlch(43.32, 36.07, 160.12°)
OKLaboklab(49.96% -0.0927 0.0312)
OKLCHoklch(49.96% 0.098 161.4)
XYZxyz(8.2948, 13.3752, 9.9275)
Luminance0.1338 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7451 #741F42
analogous
#1F7427 #1F7451 #1F6D74
triadic
#1F7451 #511F74 #74511F
tetradic
#1F7451 #271F74 #741F42 #6D741F
square
#1F7451 #271F74 #741F42 #6D741F
split-complementary
#1F7451 #741F6D #74271F
monochromatic
#061811 #12442F #1F7451 #2CA473 #41CC93

Accessibility & contrast

On white

5.71
#1F7451 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#1F7451 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7451
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7451#FFFFFF#000000##FFFFFF
##1F74511.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726B4F
Deuteranopia (green-blind)
#676353
Tritanopia (blue-blind)
#00746B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #1f7451;
/* rgb */ color: rgb(31, 116, 81);
/* oklch */ color: oklch(50.0% 0.098 161.4);
Tailwind
colors: {
  custom: {
    50: '#679d82',
    500: '#1f7451',
    950: '#000000',
  },
}
SCSS
$custom: #1f7451;
$custom-light: #679d82;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7451",
  "rgb": {
    "r": 31,
    "g": 116,
    "b": 81
  },
  "hsl": {
    "h": 155.294,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49959,
    "c": 0.0978,
    "h": 161.4
  },
  "luminance": 0.13376
}

Semantic roles & 50–950 ramp

primary
#1F7451
secondary
#A8476F
accent
#4786E1
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #1F7451

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

Preview Lab → · Contrast checker → · Palette generator →

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