#1A571B#1A571B

#1A571B is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.3% C 0.111 H 143.4°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#1A571B
RGBrgb(26, 87, 27)
HSLhsl(121, 54%, 22%)
HSVhsv(121, 70%, 34%)
CMYKcmyk(70.1%, 0%, 69%, 65.9%)
CIE-LABlab(32.07, -32.81, 28.42)
CIE-LCHlch(32.07, 43.40, 139.10°)
OKLaboklab(40.35% -0.089 0.0661)
OKLCHoklch(40.35% 0.111 143.4)
XYZxyz(4.0318, 7.1147, 2.1975)
Luminance0.0712 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A571B #571A56
analogous
#37571A #1A571B #1A573A
triadic
#1A571B #1B1A57 #571B1A
tetradic
#1A571B #1A3757 #571A56 #573A1A
square
#1A571B #1A3757 #571A56 #573A1A
split-complementary
#1A571B #3A1A57 #571A37
monochromatic
#071807 #0C280C #1A571B #28862A #36B538

Accessibility & contrast

On white

8.67
#1A571B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#1A571B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A571B
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A571B#FFFFFF#000000##FFFFFF
##1A571B1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F14
Deuteranopia (green-blind)
#514920
Tritanopia (blue-blind)
#0C544A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1a571b;
/* rgb */ color: rgb(26, 87, 27);
/* oklch */ color: oklch(40.3% 0.111 143.4);
Tailwind
colors: {
  custom: {
    50: '#60875a',
    500: '#1a571b',
    950: '#000000',
  },
}
SCSS
$custom: #1a571b;
$custom-light: #60875a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a571b",
  "rgb": {
    "r": 26,
    "g": 87,
    "b": 27
  },
  "hsl": {
    "h": 120.984,
    "s": 53.982,
    "l": 22.157
  },
  "oklch": {
    "l": 0.40347,
    "c": 0.11089,
    "h": 143.4
  },
  "luminance": 0.07115
}

Semantic roles & 50–950 ramp

primary
#1A571B
secondary
#8D408C
accent
#4ADBDD
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #1A571B

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

Preview Lab → · Contrast checker → · Palette generator →

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