#1D7C40#1D7C40

#1D7C40 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.8% C 0.127 H 150.9°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#1D7C40
RGBrgb(29, 124, 64)
HSLhsl(142, 62%, 30%)
HSVhsv(142, 77%, 49%)
CMYKcmyk(76.6%, 0%, 48.4%, 51.4%)
CIE-LABlab(45.70, -41.13, 25.13)
CIE-LCHlch(45.70, 48.20, 148.57°)
OKLaboklab(51.8% -0.1106 0.0615)
OKLCHoklch(51.8% 0.127 150.9)
XYZxyz(8.6390, 15.0457, 7.2983)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7C40 #7C1D59
analogous
#2A7C1D #1D7C40 #1D7C6F
triadic
#1D7C40 #401D7C #7C401D
tetradic
#1D7C40 #1D2A7C #7C1D59 #7C6F1D
square
#1D7C40 #1D2A7C #7C1D59 #7C6F1D
split-complementary
#1D7C40 #6F1D7C #7C1D2A
monochromatic
#06190D #114A26 #1D7C40 #29AE5A #41D377

Accessibility & contrast

On white

5.24
#1D7C40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#1D7C40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7C40
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7C40#FFFFFF#000000##FFFFFF
##1D7C401.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D713B
Deuteranopia (green-blind)
#716944
Tritanopia (blue-blind)
#007A6E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1d7c40;
/* rgb */ color: rgb(29, 124, 64);
/* oklch */ color: oklch(51.8% 0.127 150.9);
Tailwind
colors: {
  custom: {
    50: '#69a376',
    500: '#1d7c40',
    950: '#000000',
  },
}
SCSS
$custom: #1d7c40;
$custom-light: #69a376;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7c40",
  "rgb": {
    "r": 29,
    "g": 124,
    "b": 64
  },
  "hsl": {
    "h": 142.105,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.51798,
    "c": 0.12657,
    "h": 150.9
  },
  "luminance": 0.15047
}

Semantic roles & 50–950 ramp

primary
#1D7C40
secondary
#B04588
accent
#43A9E5
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1D7C40

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

Preview Lab → · Contrast checker → · Palette generator →

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