#1D5213#1D5213

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

Color values

HEX#1D5213
RGBrgb(29, 82, 19)
HSLhsl(110, 62%, 20%)
HSVhsv(110, 77%, 32%)
CMYKcmyk(64.6%, 0%, 76.8%, 67.8%)
CIE-LABlab(30.26, -30.84, 30.28)
CIE-LCHlch(30.26, 43.22, 135.52°)
OKLaboklab(38.86% -0.0844 0.069)
OKLCHoklch(38.86% 0.109 140.8)
XYZxyz(3.6414, 6.3425, 1.6483)
Luminance0.0634 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5213 #481352
analogous
#3D5213 #1D5213 #135228
triadic
#1D5213 #131D52 #52131D
tetradic
#1D5213 #133D52 #481352 #522813
square
#1D5213 #133D52 #481352 #522813
split-complementary
#1D5213 #281352 #52133D
monochromatic
#091906 #0B2007 #1D5213 #2F841F #40B52A

Accessibility & contrast

On white

9.26
#1D5213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#1D5213 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D5213
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5213#FFFFFF#000000##FFFFFF
##1D52131.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A09
Deuteranopia (green-blind)
#4E4619
Tritanopia (blue-blind)
#164F45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1d5213;
/* rgb */ color: rgb(29, 82, 19);
/* oklch */ color: oklch(38.9% 0.109 140.8);
Tailwind
colors: {
  custom: {
    50: '#608355',
    500: '#1d5213',
    950: '#000000',
  },
}
SCSS
$custom: #1d5213;
$custom-light: #608355;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5213",
  "rgb": {
    "r": 29,
    "g": 82,
    "b": 19
  },
  "hsl": {
    "h": 110.476,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38858,
    "c": 0.10899,
    "h": 140.8
  },
  "luminance": 0.06343
}

Semantic roles & 50–950 ramp

primary
#1D5213
secondary
#7D368A
accent
#42E5CC
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #1D5213

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

Preview Lab → · Contrast checker → · Palette generator →

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