#1A520D#1A520D

#1A520D is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.7% C 0.114 H 140.5°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#1A520D
RGBrgb(26, 82, 13)
HSLhsl(109, 73%, 19%)
HSVhsv(109, 84%, 32%)
CMYKcmyk(68.3%, 0%, 84.1%, 67.8%)
CIE-LABlab(30.12, -32.18, 32.56)
CIE-LCHlch(30.12, 45.78, 134.66°)
OKLaboklab(38.7% -0.0882 0.0728)
OKLCHoklch(38.7% 0.114 140.5)
XYZxyz(3.5158, 6.2829, 1.4081)
Luminance0.0628 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A520D #450D52
analogous
#3C520D #1A520D #0D5222
triadic
#1A520D #0D1A52 #520D1A
tetradic
#1A520D #0D3C52 #450D52 #52220D
square
#1A520D #0D3C52 #450D52 #52220D
split-complementary
#1A520D #220D52 #520D3C
monochromatic
#081A04 #091D05 #1A520D #2B8715 #3BBC1E

Accessibility & contrast

On white

9.31
#1A520D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#1A520D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A520D
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A520D#FFFFFF#000000##FFFFFF
##1A520D1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A00
Deuteranopia (green-blind)
#4E4515
Tritanopia (blue-blind)
#114F45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1a520d;
/* rgb */ color: rgb(26, 82, 13);
/* oklch */ color: oklch(38.7% 0.114 140.5);
Tailwind
colors: {
  custom: {
    50: '#5f8352',
    500: '#1a520d',
    950: '#000000',
  },
}
SCSS
$custom: #1a520d;
$custom-light: #5f8352;
$custom-dark: #000000;
JSON
{
  "hex": "#1a520d",
  "rgb": {
    "r": 26,
    "g": 82,
    "b": 13
  },
  "hsl": {
    "h": 108.696,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38695,
    "c": 0.11435,
    "h": 140.5
  },
  "luminance": 0.06283
}

Semantic roles & 50–950 ramp

primary
#1A520D
secondary
#7B2E8D
accent
#38EFCD
background
#F5F8F4
surface
#EAEFE7
border
#C6CAC3
text
#050B02
muted
#797C78

Preview Lab

Preview with #1A520D

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

Preview Lab → · Contrast checker → · Palette generator →

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