#1F583A#1F583A

#1F583A is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.4% C 0.078 H 157.2°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#1F583A
RGBrgb(31, 88, 58)
HSLhsl(148, 48%, 23%)
HSVhsv(148, 65%, 35%)
CMYKcmyk(64.8%, 0%, 34.1%, 65.5%)
CIE-LABlab(33.08, -26.52, 12.02)
CIE-LCHlch(33.08, 29.11, 155.63°)
OKLaboklab(41.39% -0.0722 0.0304)
OKLCHoklch(41.39% 0.078 157.2)
XYZxyz(4.8181, 7.5758, 5.2105)
Luminance0.0758 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F583A #581F3D
analogous
#20581F #1F583A #1F5856
triadic
#1F583A #3A1F58 #583A1F
tetradic
#1F583A #1F2058 #581F3D #58561F
square
#1F583A #1F2058 #581F3D #58561F
split-complementary
#1F583A #561F58 #581F20
monochromatic
#08170F #0F2B1C #1F583A #2F8558 #3FB376

Accessibility & contrast

On white

8.35
#1F583A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#1F583A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F583A
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F583A#FFFFFF#000000##FFFFFF
##1F583A1.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575138
Deuteranopia (green-blind)
#504C3C
Tritanopia (blue-blind)
#075750
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1f583a;
/* rgb */ color: rgb(31, 88, 58);
/* oklch */ color: oklch(41.4% 0.078 157.2);
Tailwind
colors: {
  custom: {
    50: '#618870',
    500: '#1f583a',
    950: '#000000',
  },
}
SCSS
$custom: #1f583a;
$custom-light: #618870;
$custom-dark: #000000;
JSON
{
  "hex": "#1f583a",
  "rgb": {
    "r": 31,
    "g": 88,
    "b": 58
  },
  "hsl": {
    "h": 148.421,
    "s": 47.899,
    "l": 23.333
  },
  "oklch": {
    "l": 0.41391,
    "c": 0.07838,
    "h": 157.2
  },
  "luminance": 0.07576
}

Semantic roles & 50–950 ramp

primary
#1F583A
secondary
#8D466B
accent
#5097D7
background
#F6F8F6
surface
#EBEFEC
border
#C6CAC7
text
#050B07
muted
#7A7C7A

Preview Lab

Preview with #1F583A

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

Preview Lab → · Contrast checker → · Palette generator →

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