#1D7F16#1D7F16

#1D7F16 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.163 H 142.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#1D7F16
RGBrgb(29, 127, 22)
HSLhsl(116, 70%, 29%)
HSVhsv(116, 83%, 50%)
CMYKcmyk(77.2%, 0%, 82.7%, 50.2%)
CIE-LABlab(46.31, -47.27, 44.97)
CIE-LCHlch(46.31, 65.24, 136.43°)
OKLaboklab(52.17% -0.1286 0.1001)
OKLCHoklch(52.17% 0.163 142.1)
XYZxyz(8.2404, 15.4969, 3.3158)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7F16 #78167F
analogous
#527F16 #1D7F16 #167F44
triadic
#1D7F16 #161D7F #7F161D
tetradic
#1D7F16 #16527F #78167F #7F4416
square
#1D7F16 #16527F #78167F #7F4416
split-complementary
#1D7F16 #44167F #7F1652
monochromatic
#061A05 #114B0D #1D7F16 #29B31F #3FDC34

Accessibility & contrast

On white

5.12
#1D7F16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#1D7F16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7F16
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7F16#FFFFFF#000000##FFFFFF
##1D7F161.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776B23
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1d7f16;
/* rgb */ color: rgb(29, 127, 22);
/* oklch */ color: oklch(52.2% 0.163 142.1);
Tailwind
colors: {
  custom: {
    50: '#6ba55d',
    500: '#1d7f16',
    950: '#000000',
  },
}
SCSS
$custom: #1d7f16;
$custom-light: #6ba55d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7f16",
  "rgb": {
    "r": 29,
    "g": 127,
    "b": 22
  },
  "hsl": {
    "h": 116,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52168,
    "c": 0.16297,
    "h": 142.1
  },
  "luminance": 0.15498
}

Semantic roles & 50–950 ramp

primary
#1D7F16
secondary
#AC3DB4
accent
#3BEDE1
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #1D7F16

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

Preview Lab → · Contrast checker → · Palette generator →

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