#1F7654#1F7654

#1F7654 is a mid, moderate teal. Relative luminance 0.139; OKLCH L 50.6% C 0.098 H 162.5°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#1F7654
RGBrgb(31, 118, 84)
HSLhsl(157, 58%, 29%)
HSVhsv(157, 74%, 46%)
CMYKcmyk(73.7%, 0%, 28.8%, 53.7%)
CIE-LABlab(44.07, -34.09, 11.53)
CIE-LCHlch(44.07, 35.98, 161.30°)
OKLaboklab(50.6% -0.0933 0.0294)
OKLCHoklch(50.6% 0.098 162.5)
XYZxyz(8.6428, 13.8873, 10.6108)
Luminance0.1389 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7654 #761F41
analogous
#1F7629 #1F7654 #1F6D76
triadic
#1F7654 #541F76 #76541F
tetradic
#1F7654 #291F76 #761F41 #6D761F
square
#1F7654 #291F76 #761F41 #6D761F
split-complementary
#1F7654 #761F6D #76291F
monochromatic
#061811 #124631 #1F7654 #2CA677 #42CD97

Accessibility & contrast

On white

5.56
#1F7654 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#1F7654 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7654
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7654#FFFFFF#000000##FFFFFF
##1F76541.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746D52
Deuteranopia (green-blind)
#696556
Tritanopia (blue-blind)
#00766D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1f7654;
/* rgb */ color: rgb(31, 118, 84);
/* oklch */ color: oklch(50.6% 0.098 162.5);
Tailwind
colors: {
  custom: {
    50: '#689e84',
    500: '#1f7654',
    950: '#000000',
  },
}
SCSS
$custom: #1f7654;
$custom-light: #689e84;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7654",
  "rgb": {
    "r": 31,
    "g": 118,
    "b": 84
  },
  "hsl": {
    "h": 156.552,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50595,
    "c": 0.09786,
    "h": 162.5
  },
  "luminance": 0.13888
}

Semantic roles & 50–950 ramp

primary
#1F7654
secondary
#AA476E
accent
#4683E2
background
#F6F9F8
surface
#EBF2EF
border
#C6CCCA
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #1F7654

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

Preview Lab → · Contrast checker → · Palette generator →

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