#1F7B59#1F7B59

#1F7B59 is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.1% C 0.100 H 163.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#1F7B59
RGBrgb(31, 123, 89)
HSLhsl(158, 60%, 30%)
HSVhsv(158, 75%, 48%)
CMYKcmyk(74.8%, 0%, 27.6%, 51.8%)
CIE-LABlab(45.88, -35.07, 11.11)
CIE-LCHlch(45.88, 36.79, 162.42°)
OKLaboklab(52.12% -0.0962 0.0283)
OKLCHoklch(52.12% 0.1 163.6)
XYZxyz(9.4502, 15.1774, 11.8807)
Luminance0.1518 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7B59 #7B1F41
analogous
#1F7B2B #1F7B59 #1F6F7B
triadic
#1F7B59 #591F7B #7B591F
tetradic
#1F7B59 #2B1F7B #7B1F41 #6F7B1F
square
#1F7B59 #2B1F7B #7B1F41 #6F7B1F
split-complementary
#1F7B59 #7B1F6F #7B2B1F
monochromatic
#061912 #134A36 #1F7B59 #2BAC7C #44D09C

Accessibility & contrast

On white

5.20
#1F7B59 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#1F7B59 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7B59
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7B59#FFFFFF#000000##FFFFFF
##1F7B591.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797257
Deuteranopia (green-blind)
#6D695B
Tritanopia (blue-blind)
#007B72
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f7b59;
/* rgb */ color: rgb(31, 123, 89);
/* oklch */ color: oklch(52.1% 0.100 163.6);
Tailwind
colors: {
  custom: {
    50: '#69a288',
    500: '#1f7b59',
    950: '#000000',
  },
}
SCSS
$custom: #1f7b59;
$custom-light: #69a288;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7b59",
  "rgb": {
    "r": 31,
    "g": 123,
    "b": 89
  },
  "hsl": {
    "h": 157.826,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52115,
    "c": 0.10033,
    "h": 163.6
  },
  "luminance": 0.15178
}

Semantic roles & 50–950 ramp

primary
#1F7B59
secondary
#AE486D
accent
#457FE3
background
#F6FAF8
surface
#ECF3EF
border
#C7CDCA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #1F7B59

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

Preview Lab → · Contrast checker → · Palette generator →

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