#1D8117#1D8117

#1D8117 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.7% C 0.165 H 142.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#1D8117
RGBrgb(29, 129, 23)
HSLhsl(117, 70%, 30%)
HSVhsv(117, 82%, 51%)
CMYKcmyk(77.5%, 0%, 82.2%, 49.4%)
CIE-LABlab(47.00, -47.88, 45.31)
CIE-LCHlch(47.00, 65.92, 136.58°)
OKLaboklab(52.75% -0.1302 0.1009)
OKLCHoklch(52.75% 0.165 142.2)
XYZxyz(8.5111, 16.0226, 3.4546)
Luminance0.1602 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D8117 #7B1781
analogous
#528117 #1D8117 #178146
triadic
#1D8117 #171D81 #81171D
tetradic
#1D8117 #175281 #7B1781 #814617
square
#1D8117 #175281 #7B1781 #814617
split-complementary
#1D8117 #461781 #811752
monochromatic
#061A05 #114D0E #1D8117 #29B520 #40DB37

Accessibility & contrast

On white

4.99
#1D8117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#1D8117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D8117
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D8117#FFFFFF#000000##FFFFFF
##1D81171.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#796D24
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1d8117;
/* rgb */ color: rgb(29, 129, 23);
/* oklch */ color: oklch(52.7% 0.165 142.2);
Tailwind
colors: {
  custom: {
    50: '#6ca75e',
    500: '#1d8117',
    950: '#000000',
  },
}
SCSS
$custom: #1d8117;
$custom-light: #6ca75e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d8117",
  "rgb": {
    "r": 29,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 116.604,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52749,
    "c": 0.16476,
    "h": 142.2
  },
  "luminance": 0.16024
}

Semantic roles & 50–950 ramp

primary
#1D8117
secondary
#AF3EB5
accent
#3BEDE3
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #1D8117

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

Preview Lab → · Contrast checker → · Palette generator →

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