#1D8118#1D8118

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

Color values

HEX#1D8118
RGBrgb(29, 129, 24)
HSLhsl(117, 69%, 30%)
HSVhsv(117, 81%, 51%)
CMYKcmyk(77.5%, 0%, 81.4%, 49.4%)
CIE-LABlab(47.01, -47.81, 45.00)
CIE-LCHlch(47.01, 65.65, 136.74°)
OKLaboklab(52.76% -0.13 0.1004)
OKLCHoklch(52.76% 0.164 142.3)
XYZxyz(8.5213, 16.0267, 3.5083)
Luminance0.1603 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D8118 #7C1881
analogous
#518118 #1D8118 #188148
triadic
#1D8118 #181D81 #81181D
tetradic
#1D8118 #185181 #7C1881 #814818
square
#1D8118 #185181 #7C1881 #814818
split-complementary
#1D8118 #481881 #811851
monochromatic
#061A05 #114D0E #1D8118 #29B522 #41DA39

Accessibility & contrast

On white

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

On black

4.21
#1D8118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1D8118#FFFFFF#000000##FFFFFF
##1D81181.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d8118;
/* rgb */ color: rgb(29, 129, 24);
/* oklch */ color: oklch(52.8% 0.164 142.3);
Tailwind
colors: {
  custom: {
    50: '#6ca75e',
    500: '#1d8118',
    950: '#000000',
  },
}
SCSS
$custom: #1d8118;
$custom-light: #6ca75e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d8118",
  "rgb": {
    "r": 29,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 117.143,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.52755,
    "c": 0.16427,
    "h": 142.3
  },
  "luminance": 0.16028
}

Semantic roles & 50–950 ramp

primary
#1D8118
secondary
#B040B5
accent
#3CEBE3
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #1D8118

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

Preview Lab → · Contrast checker → · Palette generator →

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