#1D7942#1D7942

#1D7942 is a mid, vivid green. Relative luminance 0.143; OKLCH L 51.0% C 0.120 H 152.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#1D7942
RGBrgb(29, 121, 66)
HSLhsl(144, 61%, 29%)
HSVhsv(144, 76%, 47%)
CMYKcmyk(76%, 0%, 45.5%, 52.5%)
CIE-LABlab(44.70, -39.57, 22.74)
CIE-LCHlch(44.70, 45.64, 150.11°)
OKLaboklab(50.99% -0.1065 0.0561)
OKLCHoklch(50.99% 0.12 152.2)
XYZxyz(8.3267, 14.3283, 7.4800)
Luminance0.1433 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7942 #791D54
analogous
#26791D #1D7942 #1D7970
triadic
#1D7942 #421D79 #79421D
tetradic
#1D7942 #1D2679 #791D54 #79701D
square
#1D7942 #1D2679 #791D54 #79701D
split-complementary
#1D7942 #701D79 #791D26
monochromatic
#06190D #114827 #1D7942 #29AA5D #3FD17A

Accessibility & contrast

On white

5.43
#1D7942 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#1D7942 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7942
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7942#FFFFFF#000000##FFFFFF
##1D79421.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796E3E
Deuteranopia (green-blind)
#6E6746
Tritanopia (blue-blind)
#00776C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1d7942;
/* rgb */ color: rgb(29, 121, 66);
/* oklch */ color: oklch(51.0% 0.120 152.2);
Tailwind
colors: {
  custom: {
    50: '#68a177',
    500: '#1d7942',
    950: '#000000',
  },
}
SCSS
$custom: #1d7942;
$custom-light: #68a177;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7942",
  "rgb": {
    "r": 29,
    "g": 121,
    "b": 66
  },
  "hsl": {
    "h": 144.13,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50986,
    "c": 0.1204,
    "h": 152.2
  },
  "luminance": 0.14329
}

Semantic roles & 50–950 ramp

primary
#1D7942
secondary
#AD4583
accent
#43A4E4
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1D7942

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

Preview Lab → · Contrast checker → · Palette generator →

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