#1D7B40#1D7B40

#1D7B40 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.125 H 151.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#1D7B40
RGBrgb(29, 123, 64)
HSLhsl(142, 62%, 30%)
HSVhsv(142, 76%, 48%)
CMYKcmyk(76.4%, 0%, 48%, 51.8%)
CIE-LABlab(45.35, -40.74, 24.69)
CIE-LCHlch(45.35, 47.64, 148.77°)
OKLaboklab(51.52% -0.1096 0.0605)
OKLCHoklch(51.52% 0.125 151.1)
XYZxyz(8.5143, 14.7963, 7.2567)
Luminance0.1480 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7B40 #7B1D58
analogous
#297B1D #1D7B40 #1D7B6F
triadic
#1D7B40 #401D7B #7B401D
tetradic
#1D7B40 #1D297B #7B1D58 #7B6F1D
square
#1D7B40 #1D297B #7B1D58 #7B6F1D
split-complementary
#1D7B40 #6F1D7B #7B1D29
monochromatic
#06190D #114926 #1D7B40 #29AD5A #40D277

Accessibility & contrast

On white

5.30
#1D7B40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#1D7B40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7B40
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7B40#FFFFFF#000000##FFFFFF
##1D7B401.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C703B
Deuteranopia (green-blind)
#706844
Tritanopia (blue-blind)
#00796D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1d7b40;
/* rgb */ color: rgb(29, 123, 64);
/* oklch */ color: oklch(51.5% 0.125 151.1);
Tailwind
colors: {
  custom: {
    50: '#68a276',
    500: '#1d7b40',
    950: '#000000',
  },
}
SCSS
$custom: #1d7b40;
$custom-light: #68a276;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7b40",
  "rgb": {
    "r": 29,
    "g": 123,
    "b": 64
  },
  "hsl": {
    "h": 142.34,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51515,
    "c": 0.12518,
    "h": 151.1
  },
  "luminance": 0.14797
}

Semantic roles & 50–950 ramp

primary
#1D7B40
secondary
#AF4587
accent
#43A9E5
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1D7B40

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

Preview Lab → · Contrast checker → · Palette generator →

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