#1D7512#1D7512

#1D7512 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.3% C 0.153 H 141.6°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#1D7512
RGBrgb(29, 117, 18)
HSLhsl(113, 73%, 26%)
HSVhsv(113, 85%, 46%)
CMYKcmyk(75.2%, 0%, 84.6%, 54.1%)
CIE-LABlab(42.80, -44.11, 42.93)
CIE-LCHlch(42.80, 61.55, 135.78°)
OKLaboklab(49.25% -0.1203 0.0952)
OKLCHoklch(49.25% 0.153 141.6)
XYZxyz(6.9768, 13.0267, 2.7189)
Luminance0.1303 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7512 #6A1275
analogous
#4F7512 #1D7512 #127539
triadic
#1D7512 #121D75 #75121D
tetradic
#1D7512 #124F75 #6A1275 #753912
square
#1D7512 #124F75 #6A1275 #753912
split-complementary
#1D7512 #391275 #75124F
monochromatic
#071B04 #10400A #1D7512 #2AAA1A #39DD24

Accessibility & contrast

On white

5.82
#1D7512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#1D7512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7512
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7512#FFFFFF#000000##FFFFFF
##1D75121.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#6E621F
Tritanopia (blue-blind)
#027163
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1d7512;
/* rgb */ color: rgb(29, 117, 18);
/* oklch */ color: oklch(49.3% 0.153 141.6);
Tailwind
colors: {
  custom: {
    50: '#699e5a',
    500: '#1d7512',
    950: '#000000',
  },
}
SCSS
$custom: #1d7512;
$custom-light: #699e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7512",
  "rgb": {
    "r": 29,
    "g": 117,
    "b": 18
  },
  "hsl": {
    "h": 113.333,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.4925,
    "c": 0.15341,
    "h": 141.6
  },
  "luminance": 0.13027
}

Semantic roles & 50–950 ramp

primary
#1D7512
secondary
#9F37AC
accent
#38F0DC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1D7512

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

Preview Lab → · Contrast checker → · Palette generator →

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