#1D5D12#1D5D12

#1D5D12 is a dark, vivid green. Relative luminance 0.081; OKLCH L 42.2% C 0.124 H 141.1°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#1D5D12
RGBrgb(29, 93, 18)
HSLhsl(111, 68%, 22%)
HSVhsv(111, 81%, 36%)
CMYKcmyk(68.8%, 0%, 80.6%, 63.5%)
CIE-LABlab(34.26, -35.35, 34.75)
CIE-LCHlch(34.26, 49.57, 135.49°)
OKLaboklab(42.16% -0.0966 0.0781)
OKLCHoklch(42.16% 0.124 141.1)
XYZxyz(4.5300, 8.1331, 1.9033)
Luminance0.0813 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5D12 #52125D
analogous
#435D12 #1D5D12 #125D2D
triadic
#1D5D12 #121D5D #5D121D
tetradic
#1D5D12 #12435D #52125D #5D2D12
square
#1D5D12 #12435D #52125D #5D2D12
split-complementary
#1D5D12 #2D125D #5D1243
monochromatic
#081A05 #0D2A08 #1D5D12 #2D901C #3DC426

Accessibility & contrast

On white

7.99
#1D5D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#1D5D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D5D12
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5D12#FFFFFF#000000##FFFFFF
##1D5D121.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605403
Deuteranopia (green-blind)
#584F1A
Tritanopia (blue-blind)
#125A4F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1d5d12;
/* rgb */ color: rgb(29, 93, 18);
/* oklch */ color: oklch(42.2% 0.124 141.1);
Tailwind
colors: {
  custom: {
    50: '#638c56',
    500: '#1d5d12',
    950: '#000000',
  },
}
SCSS
$custom: #1d5d12;
$custom-light: #638c56;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5d12",
  "rgb": {
    "r": 29,
    "g": 93,
    "b": 18
  },
  "hsl": {
    "h": 111.2,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42162,
    "c": 0.12427,
    "h": 141.1
  },
  "luminance": 0.08134
}

Semantic roles & 50–950 ramp

primary
#1D5D12
secondary
#873595
accent
#3DEAD1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #1D5D12

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

Preview Lab → · Contrast checker → · Palette generator →

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