#1D7B42#1D7B42

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

Color values

HEX#1D7B42
RGBrgb(29, 123, 66)
HSLhsl(144, 62%, 30%)
HSVhsv(144, 76%, 48%)
CMYKcmyk(76.4%, 0%, 46.3%, 51.8%)
CIE-LABlab(45.39, -40.37, 23.63)
CIE-LCHlch(45.39, 46.77, 149.66°)
OKLaboklab(51.55% -0.1086 0.0582)
OKLCHoklch(51.55% 0.123 151.8)
XYZxyz(8.5723, 14.8195, 7.5619)
Luminance0.1482 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7B42 #7B1D56
analogous
#277B1D #1D7B42 #1D7B71
triadic
#1D7B42 #421D7B #7B421D
tetradic
#1D7B42 #1D277B #7B1D56 #7B711D
square
#1D7B42 #1D277B #7B1D56 #7B711D
split-complementary
#1D7B42 #711D7B #7B1D27
monochromatic
#06190D #114927 #1D7B42 #29AD5D #40D27A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D7B42#FFFFFF#000000##FFFFFF
##1D7B421.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)
#7B703E
Deuteranopia (green-blind)
#706846
Tritanopia (blue-blind)
#00796D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1d7b42;
/* rgb */ color: rgb(29, 123, 66);
/* oklch */ color: oklch(51.6% 0.123 151.8);
Tailwind
colors: {
  custom: {
    50: '#68a277',
    500: '#1d7b42',
    950: '#000000',
  },
}
SCSS
$custom: #1d7b42;
$custom-light: #68a277;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7b42",
  "rgb": {
    "r": 29,
    "g": 123,
    "b": 66
  },
  "hsl": {
    "h": 143.617,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51552,
    "c": 0.12321,
    "h": 151.8
  },
  "luminance": 0.1482
}

Semantic roles & 50–950 ramp

primary
#1D7B42
secondary
#AF4585
accent
#43A5E5
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1D7B42

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

Preview Lab → · Contrast checker → · Palette generator →

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