#1A571A#1A571A

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

Color values

HEX#1A571A
RGBrgb(26, 87, 26)
HSLhsl(120, 54%, 22%)
HSVhsv(120, 70%, 34%)
CMYKcmyk(70.1%, 0%, 70.1%, 65.9%)
CIE-LABlab(32.06, -32.93, 28.90)
CIE-LCHlch(32.06, 43.81, 138.72°)
OKLaboklab(40.34% -0.0894 0.067)
OKLCHoklch(40.34% 0.112 143.2)
XYZxyz(4.0204, 7.1102, 2.1376)
Luminance0.0711 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A571A #571A57
analogous
#39571A #1A571A #1A5739
triadic
#1A571A #1A1A57 #571A1A
tetradic
#1A571A #1A3957 #571A57 #57391A
square
#1A571A #1A3957 #571A57 #57391A
split-complementary
#1A571A #391A57 #571A39
monochromatic
#071807 #0C280C #1A571A #288628 #36B536

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A571A#FFFFFF#000000##FFFFFF
##1A571A1.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)
#594E12
Deuteranopia (green-blind)
#52491F
Tritanopia (blue-blind)
#0C544A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1a571a;
/* rgb */ color: rgb(26, 87, 26);
/* oklch */ color: oklch(40.3% 0.112 143.2);
Tailwind
colors: {
  custom: {
    50: '#60875a',
    500: '#1a571a',
    950: '#000000',
  },
}
SCSS
$custom: #1a571a;
$custom-light: #60875a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a571a",
  "rgb": {
    "r": 26,
    "g": 87,
    "b": 26
  },
  "hsl": {
    "h": 120,
    "s": 53.982,
    "l": 22.157
  },
  "oklch": {
    "l": 0.40335,
    "c": 0.11174,
    "h": 143.2
  },
  "luminance": 0.07111
}

Semantic roles & 50–950 ramp

primary
#1A571A
secondary
#8D408D
accent
#4ADDDD
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #1A571A

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

Preview Lab → · Contrast checker → · Palette generator →

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