#1D7A17#1D7A17

#1D7A17 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.7% C 0.157 H 142.2°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#1D7A17
RGBrgb(29, 122, 23)
HSLhsl(116, 68%, 28%)
HSVhsv(116, 81%, 48%)
CMYKcmyk(76.2%, 0%, 81.1%, 52.2%)
CIE-LABlab(44.58, -45.51, 43.00)
CIE-LCHlch(44.58, 62.61, 136.63°)
OKLaboklab(50.73% -0.1238 0.0961)
OKLCHoklch(50.73% 0.157 142.2)
XYZxyz(7.6204, 14.2413, 3.1577)
Luminance0.1424 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7A17 #74177A
analogous
#4E7A17 #1D7A17 #177A42
triadic
#1D7A17 #171D7A #7A171D
tetradic
#1D7A17 #174E7A #74177A #7A4217
square
#1D7A17 #174E7A #74177A #7A4217
split-complementary
#1D7A17 #42177A #7A174E
monochromatic
#061A05 #11470D #1D7A17 #29AD21 #3DD933

Accessibility & contrast

On white

5.46
#1D7A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#1D7A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7A17
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7A17#FFFFFF#000000##FFFFFF
##1D7A171.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#736723
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1d7a17;
/* rgb */ color: rgb(29, 122, 23);
/* oklch */ color: oklch(50.7% 0.157 142.2);
Tailwind
colors: {
  custom: {
    50: '#6aa15d',
    500: '#1d7a17',
    950: '#000000',
  },
}
SCSS
$custom: #1d7a17;
$custom-light: #6aa15d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7a17",
  "rgb": {
    "r": 29,
    "g": 122,
    "b": 23
  },
  "hsl": {
    "h": 116.364,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50732,
    "c": 0.15673,
    "h": 142.2
  },
  "luminance": 0.14242
}

Semantic roles & 50–950 ramp

primary
#1D7A17
secondary
#A83EAF
accent
#3DEBE1
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #1D7A17

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

Preview Lab → · Contrast checker → · Palette generator →

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