#1D7B17#1D7B17

#1D7B17 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.0% C 0.158 H 142.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#1D7B17
RGBrgb(29, 123, 23)
HSLhsl(116, 68%, 29%)
HSVhsv(116, 81%, 48%)
CMYKcmyk(76.4%, 0%, 81.3%, 51.8%)
CIE-LABlab(44.92, -45.85, 43.33)
CIE-LCHlch(44.92, 63.08, 136.62°)
OKLaboklab(51.02% -0.1248 0.0968)
OKLCHoklch(51.02% 0.158 142.2)
XYZxyz(7.7439, 14.4881, 3.1988)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7B17 #75177B
analogous
#4F7B17 #1D7B17 #177B43
triadic
#1D7B17 #171D7B #7B171D
tetradic
#1D7B17 #174F7B #75177B #7B4317
square
#1D7B17 #174F7B #75177B #7B4317
split-complementary
#1D7B17 #43177B #7B174F
monochromatic
#061A05 #11470D #1D7B17 #29AF21 #3DD933

Accessibility & contrast

On white

5.39
#1D7B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#1D7B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7B17
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7B17#FFFFFF#000000##FFFFFF
##1D7B171.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#736823
Tritanopia (blue-blind)
#007768
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1d7b17;
/* rgb */ color: rgb(29, 123, 23);
/* oklch */ color: oklch(51.0% 0.158 142.2);
Tailwind
colors: {
  custom: {
    50: '#6aa25d',
    500: '#1d7b17',
    950: '#000000',
  },
}
SCSS
$custom: #1d7b17;
$custom-light: #6aa25d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7b17",
  "rgb": {
    "r": 29,
    "g": 123,
    "b": 23
  },
  "hsl": {
    "h": 116.4,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51021,
    "c": 0.1579,
    "h": 142.2
  },
  "luminance": 0.14489
}

Semantic roles & 50–950 ramp

primary
#1D7B17
secondary
#A93EB0
accent
#3CEBE1
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #1D7B17

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

Preview Lab → · Contrast checker → · Palette generator →

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