#1D8A42#1D8A42

#1D8A42 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.8% C 0.144 H 149.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#1D8A42
RGBrgb(29, 138, 66)
HSLhsl(140, 65%, 33%)
HSVhsv(140, 79%, 54%)
CMYKcmyk(79%, 0%, 52.2%, 45.9%)
CIE-LABlab(50.49, -46.08, 30.07)
CIE-LCHlch(50.49, 55.03, 146.87°)
OKLaboklab(55.77% -0.1238 0.0728)
OKLCHoklch(55.77% 0.144 149.5)
XYZxyz(10.5777, 18.8303, 8.2303)
Luminance0.1883 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D8A42 #8A1D65
analogous
#2F8A1D #1D8A42 #1D8A78
triadic
#1D8A42 #421D8A #8A421D
tetradic
#1D8A42 #1D2F8A #8A1D65 #8A781D
square
#1D8A42 #1D2F8A #8A1D65 #8A781D
split-complementary
#1D8A42 #781D8A #8A1D2F
monochromatic
#082512 #12572A #1D8A42 #28BD5A #49D97A

Accessibility & contrast

On white

4.41
#1D8A42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#1D8A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1D8A42
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D8A42#FFFFFF#000000##000000
##1D8A421.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7D3C
Deuteranopia (green-blind)
#7F7547
Tritanopia (blue-blind)
#008779
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1d8a42;
/* rgb */ color: rgb(29, 138, 66);
/* oklch */ color: oklch(55.8% 0.144 149.5);
Tailwind
colors: {
  custom: {
    50: '#6cad78',
    500: '#1d8a42',
    950: '#000000',
  },
}
SCSS
$custom: #1d8a42;
$custom-light: #6cad78;
$custom-dark: #000000;
JSON
{
  "hex": "#1d8a42",
  "rgb": {
    "r": 29,
    "g": 138,
    "b": 66
  },
  "hsl": {
    "h": 140.367,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55772,
    "c": 0.14364,
    "h": 149.5
  },
  "luminance": 0.18832
}

Semantic roles & 50–950 ramp

primary
#1D8A42
secondary
#BB4894
accent
#40AFE8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #1D8A42

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

Preview Lab → · Contrast checker → · Palette generator →

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