#1B571E#1B571E

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

Color values

HEX#1B571E
RGBrgb(27, 87, 30)
HSLhsl(123, 53%, 22%)
HSVhsv(123, 69%, 34%)
CMYKcmyk(69%, 0%, 65.5%, 65.9%)
CIE-LABlab(32.13, -32.18, 26.98)
CIE-LCHlch(32.13, 41.99, 140.03°)
OKLaboklab(40.42% -0.0872 0.0633)
OKLCHoklch(40.42% 0.108 144)
XYZxyz(4.0943, 7.1427, 2.3910)
Luminance0.0714 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B571E #571B54
analogous
#36571B #1B571E #1B573C
triadic
#1B571E #1E1B57 #571E1B
tetradic
#1B571E #1B3657 #571B54 #573C1B
square
#1B571E #1B3657 #571B54 #573C1B
split-complementary
#1B571E #3C1B57 #571B36
monochromatic
#071708 #0D280E #1B571E #29862E #38B43E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B571E#FFFFFF#000000##FFFFFF
##1B571E1.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)
#594F18
Deuteranopia (green-blind)
#514A23
Tritanopia (blue-blind)
#0D554B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b571e;
/* rgb */ color: rgb(27, 87, 30);
/* oklch */ color: oklch(40.4% 0.108 144.0);
Tailwind
colors: {
  custom: {
    50: '#60875c',
    500: '#1b571e',
    950: '#000000',
  },
}
SCSS
$custom: #1b571e;
$custom-light: #60875c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b571e",
  "rgb": {
    "r": 27,
    "g": 87,
    "b": 30
  },
  "hsl": {
    "h": 123,
    "s": 52.632,
    "l": 22.353
  },
  "oklch": {
    "l": 0.40418,
    "c": 0.10782,
    "h": 144
  },
  "luminance": 0.07143
}

Semantic roles & 50–950 ramp

primary
#1B571E
secondary
#8D4189
accent
#4CD5DC
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #1B571E

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

Preview Lab → · Contrast checker → · Palette generator →

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