#1D7312#1D7312

#1D7312 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.7% C 0.151 H 141.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#1D7312
RGBrgb(29, 115, 18)
HSLhsl(113, 73%, 26%)
HSVhsv(113, 84%, 45%)
CMYKcmyk(74.8%, 0%, 84.3%, 54.9%)
CIE-LABlab(42.10, -43.42, 42.27)
CIE-LCHlch(42.10, 60.60, 135.76°)
OKLaboklab(48.67% -0.1184 0.0938)
OKLCHoklch(48.67% 0.151 141.6)
XYZxyz(6.7462, 12.5656, 2.6420)
Luminance0.1257 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7312 #681273
analogous
#4D7312 #1D7312 #127337
triadic
#1D7312 #121D73 #73121D
tetradic
#1D7312 #124D73 #681273 #733712
square
#1D7312 #124D73 #681273 #733712
split-complementary
#1D7312 #371273 #73124D
monochromatic
#071A04 #103E0A #1D7312 #2AA81A #38DD23

Accessibility & contrast

On white

5.98
#1D7312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#1D7312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7312
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7312#FFFFFF#000000##FFFFFF
##1D73121.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6C611E
Tritanopia (blue-blind)
#046F61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1d7312;
/* rgb */ color: rgb(29, 115, 18);
/* oklch */ color: oklch(48.7% 0.151 141.6);
Tailwind
colors: {
  custom: {
    50: '#689c59',
    500: '#1d7312',
    950: '#000000',
  },
}
SCSS
$custom: #1d7312;
$custom-light: #689c59;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7312",
  "rgb": {
    "r": 29,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 113.196,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48667,
    "c": 0.15109,
    "h": 141.6
  },
  "luminance": 0.12566
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D7312

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

Preview Lab → · Contrast checker → · Palette generator →

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