#1F7B53#1F7B53

#1F7B53 is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.0% C 0.106 H 159.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#1F7B53
RGBrgb(31, 123, 83)
HSLhsl(154, 60%, 30%)
HSVhsv(154, 75%, 48%)
CMYKcmyk(74.8%, 0%, 32.5%, 51.8%)
CIE-LABlab(45.74, -36.50, 14.43)
CIE-LCHlch(45.74, 39.25, 158.43°)
OKLaboklab(51.96% -0.0993 0.0366)
OKLCHoklch(51.96% 0.106 159.8)
XYZxyz(9.2084, 15.0807, 10.6075)
Luminance0.1508 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7B53 #7B1F47
analogous
#1F7B25 #1F7B53 #1F757B
triadic
#1F7B53 #531F7B #7B531F
tetradic
#1F7B53 #251F7B #7B1F47 #757B1F
square
#1F7B53 #251F7B #7B1F47 #757B1F
split-complementary
#1F7B53 #7B1F75 #7B251F
monochromatic
#061911 #134A32 #1F7B53 #2BAC74 #44D093

Accessibility & contrast

On white

5.23
#1F7B53 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#1F7B53 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7B53
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7B53#FFFFFF#000000##FFFFFF
##1F7B531.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797151
Deuteranopia (green-blind)
#6E6956
Tritanopia (blue-blind)
#007A70
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1f7b53;
/* rgb */ color: rgb(31, 123, 83);
/* oklch */ color: oklch(52.0% 0.106 159.8);
Tailwind
colors: {
  custom: {
    50: '#69a283',
    500: '#1f7b53',
    950: '#000000',
  },
}
SCSS
$custom: #1f7b53;
$custom-light: #69a283;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7b53",
  "rgb": {
    "r": 31,
    "g": 123,
    "b": 83
  },
  "hsl": {
    "h": 153.913,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51964,
    "c": 0.10583,
    "h": 159.8
  },
  "luminance": 0.15082
}

Semantic roles & 50–950 ramp

primary
#1F7B53
secondary
#AE4874
accent
#458AE3
background
#F6FAF8
surface
#ECF3EF
border
#C7CDCA
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #1F7B53

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

Preview Lab → · Contrast checker → · Palette generator →

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