#1D7B16#1D7B16

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

Color values

HEX#1D7B16
RGBrgb(29, 123, 22)
HSLhsl(116, 70%, 28%)
HSVhsv(116, 82%, 48%)
CMYKcmyk(76.4%, 0%, 82.1%, 51.8%)
CIE-LABlab(44.92, -45.92, 43.66)
CIE-LCHlch(44.92, 63.36, 136.45°)
OKLaboklab(51.02% -0.125 0.0973)
OKLCHoklch(51.02% 0.158 142.1)
XYZxyz(7.7340, 14.4842, 3.1470)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7B16 #74167B
analogous
#4F7B16 #1D7B16 #167B41
triadic
#1D7B16 #161D7B #7B161D
tetradic
#1D7B16 #164F7B #74167B #7B4116
square
#1D7B16 #164F7B #74167B #7B4116
split-complementary
#1D7B16 #41167B #7B164F
monochromatic
#061A05 #11470D #1D7B16 #29AF1F #3DDA31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D7B16#FFFFFF#000000##FFFFFF
##1D7B161.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)
#746722
Tritanopia (blue-blind)
#007768
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1d7b16;
/* rgb */ color: rgb(29, 123, 22);
/* oklch */ color: oklch(51.0% 0.158 142.1);
Tailwind
colors: {
  custom: {
    50: '#6aa25c',
    500: '#1d7b16',
    950: '#000000',
  },
}
SCSS
$custom: #1d7b16;
$custom-light: #6aa25c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7b16",
  "rgb": {
    "r": 29,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 115.842,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51015,
    "c": 0.1584,
    "h": 142.1
  },
  "luminance": 0.14485
}

Semantic roles & 50–950 ramp

primary
#1D7B16
secondary
#A83DB0
accent
#3BECE0
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #1D7B16

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

Preview Lab → · Contrast checker → · Palette generator →

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