#1D8A40#1D8A40

#1D8A40 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.7% C 0.145 H 149.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#1D8A40
RGBrgb(29, 138, 64)
HSLhsl(139, 65%, 33%)
HSVhsv(139, 79%, 54%)
CMYKcmyk(79%, 0%, 53.6%, 45.9%)
CIE-LABlab(50.46, -46.41, 31.08)
CIE-LCHlch(50.46, 55.85, 146.19°)
OKLaboklab(55.74% -0.1247 0.075)
OKLCHoklch(55.74% 0.145 149)
XYZxyz(10.5197, 18.8071, 7.9252)
Luminance0.1881 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D8A40 #8A1D67
analogous
#318A1D #1D8A40 #1D8A76
triadic
#1D8A40 #401D8A #8A401D
tetradic
#1D8A40 #1D318A #8A1D67 #8A761D
square
#1D8A40 #1D318A #8A1D67 #8A761D
split-complementary
#1D8A40 #761D8A #8A1D31
monochromatic
#082511 #125729 #1D8A40 #28BD57 #49D977

Accessibility & contrast

On white

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

On black

4.76
#1D8A40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1D8A40
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D8A40#FFFFFF#000000##000000
##1D8A401.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d8a40;
/* rgb */ color: rgb(29, 138, 64);
/* oklch */ color: oklch(55.7% 0.145 149.0);
Tailwind
colors: {
  custom: {
    50: '#6cad76',
    500: '#1d8a40',
    950: '#000000',
  },
}
SCSS
$custom: #1d8a40;
$custom-light: #6cad76;
$custom-dark: #000000;
JSON
{
  "hex": "#1d8a40",
  "rgb": {
    "r": 29,
    "g": 138,
    "b": 64
  },
  "hsl": {
    "h": 139.266,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55741,
    "c": 0.14549,
    "h": 149
  },
  "luminance": 0.18808
}

Semantic roles & 50–950 ramp

primary
#1D8A40
secondary
#BB4896
accent
#40B2E8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #1D8A40

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

Preview Lab → · Contrast checker → · Palette generator →

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