#1B571F#1B571F

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

Color values

HEX#1B571F
RGBrgb(27, 87, 31)
HSLhsl(124, 53%, 22%)
HSVhsv(124, 69%, 34%)
CMYKcmyk(69%, 0%, 64.4%, 65.9%)
CIE-LABlab(32.14, -32.05, 26.47)
CIE-LCHlch(32.14, 41.56, 140.45°)
OKLaboklab(40.43% -0.0868 0.0624)
OKLCHoklch(40.43% 0.107 144.3)
XYZxyz(4.1073, 7.1479, 2.4593)
Luminance0.0715 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B571F #571B53
analogous
#35571B #1B571F #1B573D
triadic
#1B571F #1F1B57 #571F1B
tetradic
#1B571F #1B3557 #571B53 #573D1B
square
#1B571F #1B3557 #571B53 #573D1B
split-complementary
#1B571F #3D1B57 #571B35
monochromatic
#071708 #0D280E #1B571F #298630 #38B440

Accessibility & contrast

On white

8.64
#1B571F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B571F
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B571F#FFFFFF#000000##FFFFFF
##1B571F1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F19
Deuteranopia (green-blind)
#514A24
Tritanopia (blue-blind)
#0D554B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b571f;
/* rgb */ color: rgb(27, 87, 31);
/* oklch */ color: oklch(40.4% 0.107 144.3);
Tailwind
colors: {
  custom: {
    50: '#60875d',
    500: '#1b571f',
    950: '#000000',
  },
}
SCSS
$custom: #1b571f;
$custom-light: #60875d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b571f",
  "rgb": {
    "r": 27,
    "g": 87,
    "b": 31
  },
  "hsl": {
    "h": 124,
    "s": 52.632,
    "l": 22.353
  },
  "oklch": {
    "l": 0.40432,
    "c": 0.1069,
    "h": 144.3
  },
  "luminance": 0.07148
}

Semantic roles & 50–950 ramp

primary
#1B571F
secondary
#8D4188
accent
#4CD2DC
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #1B571F

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

Preview Lab → · Contrast checker → · Palette generator →

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