#1D7216#1D7216

#1D7216 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.4% C 0.148 H 142.0°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#1D7216
RGBrgb(29, 114, 22)
HSLhsl(115, 68%, 27%)
HSVhsv(115, 81%, 45%)
CMYKcmyk(74.6%, 0%, 80.7%, 55.3%)
CIE-LABlab(41.77, -42.80, 40.63)
CIE-LCHlch(41.77, 59.01, 136.49°)
OKLaboklab(48.4% -0.1165 0.091)
OKLCHoklch(48.4% 0.148 142)
XYZxyz(6.6684, 12.3530, 2.7918)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7216 #6B1672
analogous
#4B7216 #1D7216 #16723D
triadic
#1D7216 #161D72 #72161D
tetradic
#1D7216 #164B72 #6B1672 #723D16
square
#1D7216 #164B72 #6B1672 #723D16
split-complementary
#1D7216 #3D1672 #72164B
monochromatic
#071A05 #103F0C #1D7216 #2AA520 #39D62C

Accessibility & contrast

On white

6.05
#1D7216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#1D7216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7216
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7216#FFFFFF#000000##FFFFFF
##1D72161.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756701
Deuteranopia (green-blind)
#6B6021
Tritanopia (blue-blind)
#046E61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1d7216;
/* rgb */ color: rgb(29, 114, 22);
/* oklch */ color: oklch(48.4% 0.148 142.0);
Tailwind
colors: {
  custom: {
    50: '#689b5b',
    500: '#1d7216',
    950: '#000000',
  },
}
SCSS
$custom: #1d7216;
$custom-light: #689b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7216",
  "rgb": {
    "r": 29,
    "g": 114,
    "b": 22
  },
  "hsl": {
    "h": 115.435,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.484,
    "c": 0.14787,
    "h": 142
  },
  "luminance": 0.12354
}

Semantic roles & 50–950 ramp

primary
#1D7216
secondary
#A03CA8
accent
#3DEBDD
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1D7216

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

Preview Lab → · Contrast checker → · Palette generator →

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