#1A571F#1A571F

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

Color values

HEX#1A571F
RGBrgb(26, 87, 31)
HSLhsl(125, 54%, 22%)
HSVhsv(125, 70%, 34%)
CMYKcmyk(70.1%, 0%, 64.4%, 65.9%)
CIE-LABlab(32.11, -32.29, 26.42)
CIE-LCHlch(32.11, 41.72, 140.70°)
OKLaboklab(40.4% -0.0874 0.0623)
OKLCHoklch(40.4% 0.107 144.5)
XYZxyz(4.0813, 7.1345, 2.4581)
Luminance0.0713 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A571F #571A52
analogous
#34571A #1A571F #1A573E
triadic
#1A571F #1F1A57 #571F1A
tetradic
#1A571F #1A3457 #571A52 #573E1A
square
#1A571F #1A3457 #571A52 #573E1A
split-complementary
#1A571F #3E1A57 #571A34
monochromatic
#071808 #0C280E #1A571F #288630 #36B541

Accessibility & contrast

On white

8.65
#1A571F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A571F
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A571F#FFFFFF#000000##FFFFFF
##1A571F1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a571f;
/* rgb */ color: rgb(26, 87, 31);
/* oklch */ color: oklch(40.4% 0.107 144.5);
Tailwind
colors: {
  custom: {
    50: '#60875d',
    500: '#1a571f',
    950: '#000000',
  },
}
SCSS
$custom: #1a571f;
$custom-light: #60875d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a571f",
  "rgb": {
    "r": 26,
    "g": 87,
    "b": 31
  },
  "hsl": {
    "h": 124.918,
    "s": 53.982,
    "l": 22.157
  },
  "oklch": {
    "l": 0.40398,
    "c": 0.10733,
    "h": 144.5
  },
  "luminance": 0.07135
}

Semantic roles & 50–950 ramp

primary
#1A571F
secondary
#8D4087
accent
#4AD1DD
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #1A571F

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

Preview Lab → · Contrast checker → · Palette generator →

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