#1D8240#1D8240

#1D8240 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.5% C 0.135 H 150.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#1D8240
RGBrgb(29, 130, 64)
HSLhsl(141, 64%, 31%)
HSVhsv(141, 78%, 51%)
CMYKcmyk(77.7%, 0%, 50.8%, 49%)
CIE-LABlab(47.75, -43.43, 27.72)
CIE-LCHlch(47.75, 51.52, 147.45°)
OKLaboklab(53.49% -0.1167 0.0674)
OKLCHoklch(53.49% 0.135 150)
XYZxyz(9.4140, 16.5955, 7.5566)
Luminance0.1660 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D8240 #821D5F
analogous
#2C821D #1D8240 #1D8272
triadic
#1D8240 #401D82 #82401D
tetradic
#1D8240 #1D2C82 #821D5F #82721D
square
#1D8240 #1D2C82 #821D5F #82721D
split-complementary
#1D8240 #721D82 #821D2C
monochromatic
#071E0F #125027 #1D8240 #28B459 #44D576

Accessibility & contrast

On white

4.86
#1D8240 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#1D8240 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D8240
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D8240#FFFFFF#000000##FFFFFF
##1D82401.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83763B
Deuteranopia (green-blind)
#776E45
Tritanopia (blue-blind)
#008073
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1d8240;
/* rgb */ color: rgb(29, 130, 64);
/* oklch */ color: oklch(53.5% 0.135 150.0);
Tailwind
colors: {
  custom: {
    50: '#6aa776',
    500: '#1d8240',
    950: '#000000',
  },
}
SCSS
$custom: #1d8240;
$custom-light: #6aa776;
$custom-dark: #000000;
JSON
{
  "hex": "#1d8240",
  "rgb": {
    "r": 29,
    "g": 130,
    "b": 64
  },
  "hsl": {
    "h": 140.792,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53493,
    "c": 0.1348,
    "h": 150
  },
  "luminance": 0.16597
}

Semantic roles & 50–950 ramp

primary
#1D8240
secondary
#B5468F
accent
#41ADE7
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#071008
muted
#7A7F7B

Preview Lab

Preview with #1D8240

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

Preview Lab → · Contrast checker → · Palette generator →

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