#1D9040#1D9040

#1D9040 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.4% C 0.153 H 148.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#1D9040
RGBrgb(29, 144, 64)
HSLhsl(138, 66%, 34%)
HSVhsv(138, 80%, 56%)
CMYKcmyk(79.9%, 0%, 55.6%, 43.5%)
CIE-LABlab(52.48, -48.57, 33.55)
CIE-LCHlch(52.48, 59.03, 145.37°)
OKLaboklab(57.42% -0.1305 0.0804)
OKLCHoklch(57.42% 0.153 148.4)
XYZxyz(11.4044, 20.5765, 8.2201)
Luminance0.2058 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D9040 #901D6D
analogous
#34901D #1D9040 #1D907A
triadic
#1D9040 #401D90 #90401D
tetradic
#1D9040 #1D3490 #901D6D #907A1D
square
#1D9040 #1D3490 #901D6D #907A1D
split-complementary
#1D9040 #7A1D90 #901D34
monochromatic
#082A13 #135D29 #1D9040 #27C357 #4CDB78

Accessibility & contrast

On white

4.11
#1D9040 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#1D9040 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1D9040
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D9040#FFFFFF#000000##000000
##1D90401.004.115.125.12
#FFFFFF4.111.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918339
Deuteranopia (green-blind)
#857A46
Tritanopia (blue-blind)
#008D7E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #1d9040;
/* rgb */ color: rgb(29, 144, 64);
/* oklch */ color: oklch(57.4% 0.153 148.4);
Tailwind
colors: {
  custom: {
    50: '#6eb277',
    500: '#1d9040',
    950: '#000000',
  },
}
SCSS
$custom: #1d9040;
$custom-light: #6eb277;
$custom-dark: #000000;
JSON
{
  "hex": "#1d9040",
  "rgb": {
    "r": 29,
    "g": 144,
    "b": 64
  },
  "hsl": {
    "h": 138.261,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57416,
    "c": 0.1533,
    "h": 148.4
  },
  "luminance": 0.20578
}

Semantic roles & 50–950 ramp

primary
#1D9040
secondary
#BD4B9B
accent
#3EB5E9
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081109
muted
#7B807B

Preview Lab

Preview with #1D9040

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

Preview Lab → · Contrast checker → · Palette generator →

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