#1F7253#1F7253

#1F7253 is a mid, moderate teal. Relative luminance 0.130; OKLCH L 49.5% C 0.093 H 163.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#1F7253
RGBrgb(31, 114, 83)
HSLhsl(158, 57%, 28%)
HSVhsv(158, 73%, 45%)
CMYKcmyk(72.8%, 0%, 27.2%, 55.3%)
CIE-LABlab(42.69, -32.54, 10.20)
CIE-LCHlch(42.69, 34.10, 162.60°)
OKLaboklab(49.45% -0.0894 0.026)
OKLCHoklch(49.45% 0.093 163.8)
XYZxyz(8.1429, 12.9495, 10.2523)
Luminance0.1295 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7253 #721F3E
analogous
#1F7229 #1F7253 #1F6772
triadic
#1F7253 #531F72 #72531F
tetradic
#1F7253 #291F72 #721F3E #67721F
square
#1F7253 #291F72 #721F3E #67721F
split-complementary
#1F7253 #721F67 #72291F
monochromatic
#071812 #124230 #1F7253 #2CA276 #40CB97

Accessibility & contrast

On white

5.85
#1F7253 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#1F7253 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7253
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7253#FFFFFF#000000##FFFFFF
##1F72531.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706951
Deuteranopia (green-blind)
#656255
Tritanopia (blue-blind)
#007269
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1f7253;
/* rgb */ color: rgb(31, 114, 83);
/* oklch */ color: oklch(49.5% 0.093 163.8);
Tailwind
colors: {
  custom: {
    50: '#679b83',
    500: '#1f7253',
    950: '#000000',
  },
}
SCSS
$custom: #1f7253;
$custom-light: #679b83;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7253",
  "rgb": {
    "r": 31,
    "g": 114,
    "b": 83
  },
  "hsl": {
    "h": 157.59,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49452,
    "c": 0.09314,
    "h": 163.8
  },
  "luminance": 0.1295
}

Semantic roles & 50–950 ramp

primary
#1F7253
secondary
#A6476A
accent
#4781E0
background
#F6F9F8
surface
#EBF2EF
border
#C6CCCA
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #1F7253

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

Preview Lab → · Contrast checker → · Palette generator →

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