#1D7412#1D7412

#1D7412 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.0% C 0.152 H 141.6°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#1D7412
RGBrgb(29, 116, 18)
HSLhsl(113, 73%, 26%)
HSVhsv(113, 84%, 45%)
CMYKcmyk(75%, 0%, 84.5%, 54.5%)
CIE-LABlab(42.45, -43.77, 42.60)
CIE-LCHlch(42.45, 61.08, 135.77°)
OKLaboklab(48.96% -0.1194 0.0945)
OKLCHoklch(48.96% 0.152 141.6)
XYZxyz(6.8609, 12.7949, 2.6802)
Luminance0.1280 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7412 #691274
analogous
#4E7412 #1D7412 #127438
triadic
#1D7412 #121D74 #74121D
tetradic
#1D7412 #124E74 #691274 #743812
square
#1D7412 #124E74 #691274 #743812
split-complementary
#1D7412 #381274 #74124E
monochromatic
#071A04 #103F0A #1D7412 #2AA91A #38DD23

Accessibility & contrast

On white

5.90
#1D7412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#1D7412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7412
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7412#FFFFFF#000000##FFFFFF
##1D74121.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6D621E
Tritanopia (blue-blind)
#037062
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1d7412;
/* rgb */ color: rgb(29, 116, 18);
/* oklch */ color: oklch(49.0% 0.152 141.6);
Tailwind
colors: {
  custom: {
    50: '#699d5a',
    500: '#1d7412',
    950: '#000000',
  },
}
SCSS
$custom: #1d7412;
$custom-light: #699d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7412",
  "rgb": {
    "r": 29,
    "g": 116,
    "b": 18
  },
  "hsl": {
    "h": 113.265,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48959,
    "c": 0.15225,
    "h": 141.6
  },
  "luminance": 0.12796
}

Semantic roles & 50–950 ramp

primary
#1D7412
secondary
#9E37AB
accent
#38F0DB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1D7412

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

Preview Lab → · Contrast checker → · Palette generator →

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