#1D5012#1D5012

#1D5012 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.2% C 0.107 H 140.4°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#1D5012
RGBrgb(29, 80, 18)
HSLhsl(109, 63%, 19%)
HSVhsv(109, 78%, 31%)
CMYKcmyk(63.7%, 0%, 77.5%, 68.6%)
CIE-LABlab(29.52, -30.10, 29.96)
CIE-LCHlch(29.52, 42.47, 135.13°)
OKLaboklab(38.24% -0.0825 0.0681)
OKLCHoklch(38.24% 0.107 140.4)
XYZxyz(3.4844, 6.0419, 1.5547)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5012 #451250
analogous
#3C5012 #1D5012 #125026
triadic
#1D5012 #121D50 #50121D
tetradic
#1D5012 #123C50 #451250 #502612
square
#1D5012 #123C50 #451250 #502612
split-complementary
#1D5012 #261250 #50123C
monochromatic
#091906 #0B1E07 #1D5012 #2F821D #41B428

Accessibility & contrast

On white

9.51
#1D5012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#1D5012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D5012
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5012#FFFFFF#000000##FFFFFF
##1D50121.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524808
Deuteranopia (green-blind)
#4C4418
Tritanopia (blue-blind)
#164D44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1d5012;
/* rgb */ color: rgb(29, 80, 18);
/* oklch */ color: oklch(38.2% 0.107 140.4);
Tailwind
colors: {
  custom: {
    50: '#608254',
    500: '#1d5012',
    950: '#000000',
  },
}
SCSS
$custom: #1d5012;
$custom-light: #608254;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5012",
  "rgb": {
    "r": 29,
    "g": 80,
    "b": 18
  },
  "hsl": {
    "h": 109.355,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38242,
    "c": 0.10697,
    "h": 140.4
  },
  "luminance": 0.06042
}

Semantic roles & 50–950 ramp

primary
#1D5012
secondary
#7A3589
accent
#41E6C9
background
#F5F8F5
surface
#EAEFE8
border
#C6CAC4
text
#050A03
muted
#797C78

Preview Lab

Preview with #1D5012

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

Preview Lab → · Contrast checker → · Palette generator →

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