#1A520F#1A520F

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

Color values

HEX#1A520F
RGBrgb(26, 82, 15)
HSLhsl(110, 69%, 19%)
HSVhsv(110, 82%, 32%)
CMYKcmyk(68.3%, 0%, 81.7%, 67.8%)
CIE-LABlab(30.13, -32.02, 31.81)
CIE-LCHlch(30.13, 45.13, 135.19°)
OKLaboklab(38.71% -0.0876 0.0716)
OKLCHoklch(38.71% 0.113 140.8)
XYZxyz(3.5293, 6.2883, 1.4796)
Luminance0.0629 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A520F #470F52
analogous
#3C520F #1A520F #0F5226
triadic
#1A520F #0F1A52 #520F1A
tetradic
#1A520F #0F3C52 #470F52 #52260F
square
#1A520F #0F3C52 #470F52 #52260F
split-complementary
#1A520F #260F52 #520F3C
monochromatic
#081A05 #0A1E06 #1A520F #2A8618 #3BB922

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A520F#FFFFFF#000000##FFFFFF
##1A520F1.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)
#544A03
Deuteranopia (green-blind)
#4E4516
Tritanopia (blue-blind)
#114F45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1a520f;
/* rgb */ color: rgb(26, 82, 15);
/* oklch */ color: oklch(38.7% 0.113 140.8);
Tailwind
colors: {
  custom: {
    50: '#5f8353',
    500: '#1a520f',
    950: '#000000',
  },
}
SCSS
$custom: #1a520f;
$custom-light: #5f8353;
$custom-dark: #000000;
JSON
{
  "hex": "#1a520f",
  "rgb": {
    "r": 26,
    "g": 82,
    "b": 15
  },
  "hsl": {
    "h": 110.149,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3871,
    "c": 0.11314,
    "h": 140.8
  },
  "luminance": 0.06289
}

Semantic roles & 50–950 ramp

primary
#1A520F
secondary
#7D318C
accent
#3CECCF
background
#F5F8F4
surface
#EAEFE7
border
#C6CAC3
text
#050B02
muted
#797C78

Preview Lab

Preview with #1A520F

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

Preview Lab → · Contrast checker → · Palette generator →

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