#1A571C#1A571C

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

Color values

HEX#1A571C
RGBrgb(26, 87, 28)
HSLhsl(122, 54%, 22%)
HSVhsv(122, 70%, 34%)
CMYKcmyk(70.1%, 0%, 67.8%, 65.9%)
CIE-LABlab(32.08, -32.68, 27.93)
CIE-LCHlch(32.08, 42.99, 139.48°)
OKLaboklab(40.36% -0.0887 0.0652)
OKLCHoklch(40.36% 0.11 143.7)
XYZxyz(4.0436, 7.1194, 2.2595)
Luminance0.0712 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A571C #571A55
analogous
#37571A #1A571C #1A573B
triadic
#1A571C #1C1A57 #571C1A
tetradic
#1A571C #1A3757 #571A55 #573B1A
square
#1A571C #1A3757 #571A55 #573B1A
split-complementary
#1A571C #3B1A57 #571A37
monochromatic
#071808 #0C280D #1A571C #28862B #36B53A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A571C#FFFFFF#000000##FFFFFF
##1A571C1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F15
Deuteranopia (green-blind)
#514921
Tritanopia (blue-blind)
#0C544B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1a571c;
/* rgb */ color: rgb(26, 87, 28);
/* oklch */ color: oklch(40.4% 0.110 143.7);
Tailwind
colors: {
  custom: {
    50: '#60875b',
    500: '#1a571c',
    950: '#000000',
  },
}
SCSS
$custom: #1a571c;
$custom-light: #60875b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a571c",
  "rgb": {
    "r": 26,
    "g": 87,
    "b": 28
  },
  "hsl": {
    "h": 121.967,
    "s": 53.982,
    "l": 22.157
  },
  "oklch": {
    "l": 0.40359,
    "c": 0.11003,
    "h": 143.7
  },
  "luminance": 0.0712
}

Semantic roles & 50–950 ramp

primary
#1A571C
secondary
#8D408B
accent
#4AD9DD
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #1A571C

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

Preview Lab → · Contrast checker → · Palette generator →

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