#1B571B#1B571B

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

Color values

HEX#1B571B
RGBrgb(27, 87, 27)
HSLhsl(120, 53%, 22%)
HSVhsv(120, 69%, 34%)
CMYKcmyk(69%, 0%, 69%, 65.9%)
CIE-LABlab(32.10, -32.56, 28.46)
CIE-LCHlch(32.10, 43.25, 138.84°)
OKLaboklab(40.38% -0.0884 0.0662)
OKLCHoklch(40.38% 0.11 143.2)
XYZxyz(4.0578, 7.1281, 2.1987)
Luminance0.0713 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B571B #571B57
analogous
#39571B #1B571B #1B5739
triadic
#1B571B #1B1B57 #571B1B
tetradic
#1B571B #1B3957 #571B57 #57391B
square
#1B571B #1B3957 #571B57 #57391B
split-complementary
#1B571B #391B57 #571B39
monochromatic
#071707 #0D280D #1B571B #298629 #38B438

Accessibility & contrast

On white

8.66
#1B571B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B571B
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B571B#FFFFFF#000000##FFFFFF
##1B571B1.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F14
Deuteranopia (green-blind)
#524A20
Tritanopia (blue-blind)
#0E544A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1b571b;
/* rgb */ color: rgb(27, 87, 27);
/* oklch */ color: oklch(40.4% 0.110 143.2);
Tailwind
colors: {
  custom: {
    50: '#60875a',
    500: '#1b571b',
    950: '#000000',
  },
}
SCSS
$custom: #1b571b;
$custom-light: #60875a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b571b",
  "rgb": {
    "r": 27,
    "g": 87,
    "b": 27
  },
  "hsl": {
    "h": 120,
    "s": 52.632,
    "l": 22.353
  },
  "oklch": {
    "l": 0.40381,
    "c": 0.11047,
    "h": 143.2
  },
  "luminance": 0.07129
}

Semantic roles & 50–950 ramp

primary
#1B571B
secondary
#8D418D
accent
#4CDCDC
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #1B571B

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

Preview Lab → · Contrast checker → · Palette generator →

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