#1D7A40#1D7A40

#1D7A40 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.2% C 0.124 H 151.3°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#1D7A40
RGBrgb(29, 122, 64)
HSLhsl(143, 62%, 30%)
HSVhsv(143, 76%, 48%)
CMYKcmyk(76.2%, 0%, 47.5%, 52.2%)
CIE-LABlab(45.01, -40.34, 24.26)
CIE-LCHlch(45.01, 47.07, 148.98°)
OKLaboklab(51.23% -0.1085 0.0595)
OKLCHoklch(51.23% 0.124 151.3)
XYZxyz(8.3909, 14.5495, 7.2156)
Luminance0.1455 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7A40 #7A1D57
analogous
#287A1D #1D7A40 #1D7A6F
triadic
#1D7A40 #401D7A #7A401D
tetradic
#1D7A40 #1D287A #7A1D57 #7A6F1D
square
#1D7A40 #1D287A #7A1D57 #7A6F1D
split-complementary
#1D7A40 #6F1D7A #7A1D28
monochromatic
#06190D #114926 #1D7A40 #29AB5A #40D277

Accessibility & contrast

On white

5.37
#1D7A40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#1D7A40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7A40
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7A40#FFFFFF#000000##FFFFFF
##1D7A401.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F3C
Deuteranopia (green-blind)
#6F6744
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1d7a40;
/* rgb */ color: rgb(29, 122, 64);
/* oklch */ color: oklch(51.2% 0.124 151.3);
Tailwind
colors: {
  custom: {
    50: '#68a176',
    500: '#1d7a40',
    950: '#000000',
  },
}
SCSS
$custom: #1d7a40;
$custom-light: #68a176;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7a40",
  "rgb": {
    "r": 29,
    "g": 122,
    "b": 64
  },
  "hsl": {
    "h": 142.581,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51232,
    "c": 0.12378,
    "h": 151.3
  },
  "luminance": 0.1455
}

Semantic roles & 50–950 ramp

primary
#1D7A40
secondary
#AE4586
accent
#43A8E5
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1D7A40

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

Preview Lab → · Contrast checker → · Palette generator →

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