#1A520E#1A520E

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

Color values

HEX#1A520E
RGBrgb(26, 82, 14)
HSLhsl(109, 71%, 19%)
HSVhsv(109, 83%, 32%)
CMYKcmyk(68.3%, 0%, 82.9%, 67.8%)
CIE-LABlab(30.12, -32.10, 32.19)
CIE-LCHlch(30.12, 45.46, 134.92°)
OKLaboklab(38.7% -0.0879 0.0722)
OKLCHoklch(38.7% 0.114 140.6)
XYZxyz(3.5224, 6.2856, 1.4430)
Luminance0.0629 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A520E #460E52
analogous
#3C520E #1A520E #0E5224
triadic
#1A520E #0E1A52 #520E1A
tetradic
#1A520E #0E3C52 #460E52 #52240E
square
#1A520E #0E3C52 #460E52 #52240E
split-complementary
#1A520E #240E52 #520E3C
monochromatic
#081A04 #091E05 #1A520E #2B8617 #3BBB20

Accessibility & contrast

On white

9.30
#1A520E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A520E
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A520E#FFFFFF#000000##FFFFFF
##1A520E1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a520e;
/* rgb */ color: rgb(26, 82, 14);
/* oklch */ color: oklch(38.7% 0.114 140.6);
Tailwind
colors: {
  custom: {
    50: '#5f8352',
    500: '#1a520e',
    950: '#000000',
  },
}
SCSS
$custom: #1a520e;
$custom-light: #5f8352;
$custom-dark: #000000;
JSON
{
  "hex": "#1a520e",
  "rgb": {
    "r": 26,
    "g": 82,
    "b": 14
  },
  "hsl": {
    "h": 109.412,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38702,
    "c": 0.11376,
    "h": 140.6
  },
  "luminance": 0.06286
}

Semantic roles & 50–950 ramp

primary
#1A520E
secondary
#7C2F8C
accent
#3AEECE
background
#F5F8F4
surface
#EAEFE7
border
#C6CAC3
text
#050B02
muted
#797C78

Preview Lab

Preview with #1A520E

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

Preview Lab → · Contrast checker → · Palette generator →

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