#1B571C#1B571C

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

Color values

HEX#1B571C
RGBrgb(27, 87, 28)
HSLhsl(121, 53%, 22%)
HSVhsv(121, 69%, 34%)
CMYKcmyk(69%, 0%, 67.8%, 65.9%)
CIE-LABlab(32.11, -32.44, 27.97)
CIE-LCHlch(32.11, 42.83, 139.23°)
OKLaboklab(40.39% -0.088 0.0653)
OKLCHoklch(40.39% 0.11 143.5)
XYZxyz(4.0696, 7.1328, 2.2607)
Luminance0.0713 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B571C #571B56
analogous
#38571B #1B571C #1B573A
triadic
#1B571C #1C1B57 #571C1B
tetradic
#1B571C #1B3857 #571B56 #573A1B
square
#1B571C #1B3857 #571B56 #573A1B
split-complementary
#1B571C #3A1B57 #571B38
monochromatic
#071708 #0D280D #1B571C #29862B #38B43A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B571C#FFFFFF#000000##FFFFFF
##1B571C1.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)
#594F15
Deuteranopia (green-blind)
#524A21
Tritanopia (blue-blind)
#0E544B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b571c;
/* rgb */ color: rgb(27, 87, 28);
/* oklch */ color: oklch(40.4% 0.110 143.5);
Tailwind
colors: {
  custom: {
    50: '#60875b',
    500: '#1b571c',
    950: '#000000',
  },
}
SCSS
$custom: #1b571c;
$custom-light: #60875b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b571c",
  "rgb": {
    "r": 27,
    "g": 87,
    "b": 28
  },
  "hsl": {
    "h": 121,
    "s": 52.632,
    "l": 22.353
  },
  "oklch": {
    "l": 0.40393,
    "c": 0.1096,
    "h": 143.5
  },
  "luminance": 0.07133
}

Semantic roles & 50–950 ramp

primary
#1B571C
secondary
#8D418C
accent
#4CDADC
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #1B571C

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

Preview Lab → · Contrast checker → · Palette generator →

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