#1F583B#1F583B

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

Color values

HEX#1F583B
RGBrgb(31, 88, 59)
HSLhsl(149, 48%, 23%)
HSVhsv(149, 65%, 35%)
CMYKcmyk(64.8%, 0%, 33%, 65.5%)
CIE-LABlab(33.11, -26.29, 11.43)
CIE-LCHlch(33.11, 28.66, 156.50°)
OKLaboklab(41.42% -0.0717 0.029)
OKLCHoklch(41.42% 0.077 158)
XYZxyz(4.8438, 7.5860, 5.3458)
Luminance0.0759 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F583B #581F3C
analogous
#1F581F #1F583B #1F5857
triadic
#1F583B #3B1F58 #583B1F
tetradic
#1F583B #1F1F58 #581F3C #58571F
square
#1F583B #1F1F58 #581F3C #58571F
split-complementary
#1F583B #571F58 #581F1F
monochromatic
#08170F #0F2B1D #1F583B #2F8559 #3FB378

Accessibility & contrast

On white

8.34
#1F583B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F583B
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F583B#FFFFFF#000000##FFFFFF
##1F583B1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575139
Deuteranopia (green-blind)
#4F4C3D
Tritanopia (blue-blind)
#065750
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1f583b;
/* rgb */ color: rgb(31, 88, 59);
/* oklch */ color: oklch(41.4% 0.077 158.0);
Tailwind
colors: {
  custom: {
    50: '#618771',
    500: '#1f583b',
    950: '#000000',
  },
}
SCSS
$custom: #1f583b;
$custom-light: #618771;
$custom-dark: #000000;
JSON
{
  "hex": "#1f583b",
  "rgb": {
    "r": 31,
    "g": 88,
    "b": 59
  },
  "hsl": {
    "h": 149.474,
    "s": 47.899,
    "l": 23.333
  },
  "oklch": {
    "l": 0.41417,
    "c": 0.07733,
    "h": 158
  },
  "luminance": 0.07587
}

Semantic roles & 50–950 ramp

primary
#1F583B
secondary
#8D466A
accent
#5095D7
background
#F6F8F6
surface
#EBEFEC
border
#C6CAC7
text
#050B07
muted
#7A7C7A

Preview Lab

Preview with #1F583B

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

Preview Lab → · Contrast checker → · Palette generator →

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