#1F5331#1F5331

#1F5331 is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.7% C 0.080 H 152.3°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#1F5331
RGBrgb(31, 83, 49)
HSLhsl(141, 46%, 22%)
HSVhsv(141, 63%, 33%)
CMYKcmyk(62.7%, 0%, 41%, 67.5%)
CIE-LABlab(31.11, -26.13, 14.87)
CIE-LCHlch(31.11, 30.06, 150.35°)
OKLaboklab(39.71% -0.0708 0.0372)
OKLCHoklch(39.71% 0.08 152.3)
XYZxyz(4.2124, 6.6992, 3.9762)
Luminance0.0670 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5331 #531F41
analogous
#27531F #1F5331 #1F534B
triadic
#1F5331 #311F53 #53311F
tetradic
#1F5331 #1F2753 #531F41 #534B1F
square
#1F5331 #1F2753 #531F41 #534B1F
split-complementary
#1F5331 #4B1F53 #531F27
monochromatic
#08160D #0E2617 #1F5331 #30804B #40AC66

Accessibility & contrast

On white

8.97
#1F5331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#1F5331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5331
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5331#FFFFFF#000000##FFFFFF
##1F53311.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534C2F
Deuteranopia (green-blind)
#4C4733
Tritanopia (blue-blind)
#10524A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1f5331;
/* rgb */ color: rgb(31, 83, 49);
/* oklch */ color: oklch(39.7% 0.080 152.3);
Tailwind
colors: {
  custom: {
    50: '#608469',
    500: '#1f5331',
    950: '#000000',
  },
}
SCSS
$custom: #1f5331;
$custom-light: #608469;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5331",
  "rgb": {
    "r": 31,
    "g": 83,
    "b": 49
  },
  "hsl": {
    "h": 140.769,
    "s": 45.614,
    "l": 22.353
  },
  "oklch": {
    "l": 0.39714,
    "c": 0.07996,
    "h": 152.3
  },
  "luminance": 0.067
}

Semantic roles & 50–950 ramp

primary
#1F5331
secondary
#884671
accent
#53A8D5
background
#F5F8F6
surface
#EAEFEB
border
#C6CAC6
text
#050B06
muted
#797C7A

Preview Lab

Preview with #1F5331

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

Preview Lab → · Contrast checker → · Palette generator →

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