#1B571D#1B571D

#1B571D is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.4% C 0.109 H 143.7°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#1B571D
RGBrgb(27, 87, 29)
HSLhsl(122, 53%, 22%)
HSVhsv(122, 69%, 34%)
CMYKcmyk(69%, 0%, 66.7%, 65.9%)
CIE-LABlab(32.12, -32.31, 27.48)
CIE-LCHlch(32.12, 42.42, 139.62°)
OKLaboklab(40.41% -0.0876 0.0643)
OKLCHoklch(40.41% 0.109 143.7)
XYZxyz(4.0817, 7.1377, 2.3248)
Luminance0.0714 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B571D #571B55
analogous
#37571B #1B571D #1B573B
triadic
#1B571D #1D1B57 #571D1B
tetradic
#1B571D #1B3757 #571B55 #573B1B
square
#1B571D #1B3757 #571B55 #573B1B
split-complementary
#1B571D #3B1B57 #571B37
monochromatic
#071708 #0D280D #1B571D #29862D #38B43C

Accessibility & contrast

On white

8.65
#1B571D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#1B571D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B571D
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B571D#FFFFFF#000000##FFFFFF
##1B571D1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F17
Deuteranopia (green-blind)
#514A22
Tritanopia (blue-blind)
#0E544B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b571d;
/* rgb */ color: rgb(27, 87, 29);
/* oklch */ color: oklch(40.4% 0.109 143.7);
Tailwind
colors: {
  custom: {
    50: '#60875b',
    500: '#1b571d',
    950: '#000000',
  },
}
SCSS
$custom: #1b571d;
$custom-light: #60875b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b571d",
  "rgb": {
    "r": 27,
    "g": 87,
    "b": 29
  },
  "hsl": {
    "h": 122,
    "s": 52.632,
    "l": 22.353
  },
  "oklch": {
    "l": 0.40405,
    "c": 0.10871,
    "h": 143.7
  },
  "luminance": 0.07138
}

Semantic roles & 50–950 ramp

primary
#1B571D
secondary
#8D418A
accent
#4CD7DC
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #1B571D

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

Preview Lab → · Contrast checker → · Palette generator →

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