#1D5E12#1D5E12

#1D5E12 is a dark, vivid green. Relative luminance 0.083; OKLCH L 42.5% C 0.126 H 141.1°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#1D5E12
RGBrgb(29, 94, 18)
HSLhsl(111, 68%, 22%)
HSVhsv(111, 81%, 37%)
CMYKcmyk(69.1%, 0%, 80.9%, 63.1%)
CIE-LABlab(34.62, -35.74, 35.10)
CIE-LCHlch(34.62, 50.09, 135.51°)
OKLaboklab(42.46% -0.0977 0.0789)
OKLCHoklch(42.46% 0.126 141.1)
XYZxyz(4.6183, 8.3098, 1.9327)
Luminance0.0831 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5E12 #53125E
analogous
#435E12 #1D5E12 #125E2D
triadic
#1D5E12 #121D5E #5E121D
tetradic
#1D5E12 #12435E #53125E #5E2D12
square
#1D5E12 #12435E #53125E #5E2D12
split-complementary
#1D5E12 #2D125E #5E1243
monochromatic
#081A05 #0D2B08 #1D5E12 #2D911C #3DC526

Accessibility & contrast

On white

7.89
#1D5E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#1D5E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D5E12
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5E12#FFFFFF#000000##FFFFFF
##1D5E121.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615503
Deuteranopia (green-blind)
#594F1A
Tritanopia (blue-blind)
#115B50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1d5e12;
/* rgb */ color: rgb(29, 94, 18);
/* oklch */ color: oklch(42.5% 0.126 141.1);
Tailwind
colors: {
  custom: {
    50: '#638c56',
    500: '#1d5e12',
    950: '#000000',
  },
}
SCSS
$custom: #1d5e12;
$custom-light: #638c56;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5e12",
  "rgb": {
    "r": 29,
    "g": 94,
    "b": 18
  },
  "hsl": {
    "h": 111.316,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42461,
    "c": 0.12555,
    "h": 141.1
  },
  "luminance": 0.0831
}

Semantic roles & 50–950 ramp

primary
#1D5E12
secondary
#883596
accent
#3DEBD2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #1D5E12

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

Preview Lab → · Contrast checker → · Palette generator →

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