#1D7C16#1D7C16

#1D7C16 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.160 H 142.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#1D7C16
RGBrgb(29, 124, 22)
HSLhsl(116, 70%, 29%)
HSVhsv(116, 82%, 49%)
CMYKcmyk(76.6%, 0%, 82.3%, 51.4%)
CIE-LABlab(45.27, -46.26, 43.99)
CIE-LCHlch(45.27, 63.83, 136.44°)
OKLaboklab(51.3% -0.1259 0.098)
OKLCHoklch(51.3% 0.16 142.1)
XYZxyz(7.8587, 14.7335, 3.1886)
Luminance0.1473 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7C16 #75167C
analogous
#507C16 #1D7C16 #167C42
triadic
#1D7C16 #161D7C #7C161D
tetradic
#1D7C16 #16507C #75167C #7C4216
square
#1D7C16 #16507C #75167C #7C4216
split-complementary
#1D7C16 #42167C #7C1650
monochromatic
#061A05 #11480D #1D7C16 #29B01F #3DDB32

Accessibility & contrast

On white

5.32
#1D7C16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#1D7C16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7C16
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7C16#FFFFFF#000000##FFFFFF
##1D7C161.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#746822
Tritanopia (blue-blind)
#007869
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1d7c16;
/* rgb */ color: rgb(29, 124, 22);
/* oklch */ color: oklch(51.3% 0.160 142.1);
Tailwind
colors: {
  custom: {
    50: '#6ba35d',
    500: '#1d7c16',
    950: '#000000',
  },
}
SCSS
$custom: #1d7c16;
$custom-light: #6ba35d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7c16",
  "rgb": {
    "r": 29,
    "g": 124,
    "b": 22
  },
  "hsl": {
    "h": 115.882,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51304,
    "c": 0.15955,
    "h": 142.1
  },
  "luminance": 0.14734
}

Semantic roles & 50–950 ramp

primary
#1D7C16
secondary
#A93DB1
accent
#3BEDE0
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #1D7C16

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

Preview Lab → · Contrast checker → · Palette generator →

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