#1F573A#1F573A

#1F573A is a dark, moderate green. Relative luminance 0.074; OKLCH L 41.1% C 0.077 H 157.6°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#1F573A
RGBrgb(31, 87, 58)
HSLhsl(149, 47%, 23%)
HSVhsv(149, 64%, 34%)
CMYKcmyk(64.4%, 0%, 33.3%, 65.9%)
CIE-LABlab(32.73, -26.04, 11.53)
CIE-LCHlch(32.73, 28.48, 156.12°)
OKLaboklab(41.1% -0.071 0.0292)
OKLCHoklch(41.1% 0.077 157.6)
XYZxyz(4.7366, 7.4127, 5.1834)
Luminance0.0741 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F573A #571F3C
analogous
#20571F #1F573A #1F5756
triadic
#1F573A #3A1F57 #573A1F
tetradic
#1F573A #1F2057 #571F3C #57561F
square
#1F573A #1F2057 #571F3C #57561F
split-complementary
#1F573A #561F57 #571F20
monochromatic
#08170F #0F2A1C #1F573A #2F8458 #3FB176

Accessibility & contrast

On white

8.46
#1F573A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#1F573A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F573A
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F573A#FFFFFF#000000##FFFFFF
##1F573A1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565038
Deuteranopia (green-blind)
#4F4B3C
Tritanopia (blue-blind)
#08564F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1f573a;
/* rgb */ color: rgb(31, 87, 58);
/* oklch */ color: oklch(41.1% 0.077 157.6);
Tailwind
colors: {
  custom: {
    50: '#618770',
    500: '#1f573a',
    950: '#000000',
  },
}
SCSS
$custom: #1f573a;
$custom-light: #618770;
$custom-dark: #000000;
JSON
{
  "hex": "#1f573a",
  "rgb": {
    "r": 31,
    "g": 87,
    "b": 58
  },
  "hsl": {
    "h": 148.929,
    "s": 47.458,
    "l": 23.137
  },
  "oklch": {
    "l": 0.41101,
    "c": 0.07677,
    "h": 157.6
  },
  "luminance": 0.07413
}

Semantic roles & 50–950 ramp

primary
#1F573A
secondary
#8C466A
accent
#5196D7
background
#F5F8F6
surface
#EAEFEC
border
#C6CAC7
text
#050B07
muted
#797C7A

Preview Lab

Preview with #1F573A

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

Preview Lab → · Contrast checker → · Palette generator →

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