#1F5B2D#1F5B2D

#1F5B2D is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.0% C 0.097 H 148.3°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#1F5B2D
RGBrgb(31, 91, 45)
HSLhsl(134, 49%, 24%)
HSVhsv(134, 66%, 36%)
CMYKcmyk(65.9%, 0%, 50.5%, 64.3%)
CIE-LABlab(33.90, -30.55, 20.87)
CIE-LCHlch(33.90, 37.00, 145.66°)
OKLaboklab(41.99% -0.0825 0.051)
OKLCHoklch(41.99% 0.097 148.3)
XYZxyz(4.7795, 7.9625, 3.7672)
Luminance0.0796 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5B2D #5B1F4D
analogous
#2F5B1F #1F5B2D #1F5B4B
triadic
#1F5B2D #2D1F5B #5B2D1F
tetradic
#1F5B2D #1F2F5B #5B1F4D #5B4B1F
square
#1F5B2D #1F2F5B #5B1F4D #5B4B1F
split-complementary
#1F5B2D #4B1F5B #5B1F2F
monochromatic
#08170B #0F2D16 #1F5B2D #2F8944 #3EB65A

Accessibility & contrast

On white

8.10
#1F5B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#1F5B2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5B2D
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5B2D#FFFFFF#000000##FFFFFF
##1F5B2D1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5329
Deuteranopia (green-blind)
#544E30
Tritanopia (blue-blind)
#0E5950
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1f5b2d;
/* rgb */ color: rgb(31, 91, 45);
/* oklch */ color: oklch(42.0% 0.097 148.3);
Tailwind
colors: {
  custom: {
    50: '#628a67',
    500: '#1f5b2d',
    950: '#000000',
  },
}
SCSS
$custom: #1f5b2d;
$custom-light: #628a67;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5b2d",
  "rgb": {
    "r": 31,
    "g": 91,
    "b": 45
  },
  "hsl": {
    "h": 134,
    "s": 49.18,
    "l": 23.922
  },
  "oklch": {
    "l": 0.41985,
    "c": 0.097,
    "h": 148.3
  },
  "luminance": 0.07963
}

Semantic roles & 50–950 ramp

primary
#1F5B2D
secondary
#90467F
accent
#4FB9D9
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C06
muted
#7A7D7A

Preview Lab

Preview with #1F5B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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