#1D7D28#1D7D28

#1D7D28 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.7% C 0.149 H 144.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#1D7D28
RGBrgb(29, 125, 40)
HSLhsl(127, 62%, 30%)
HSVhsv(127, 77%, 49%)
CMYKcmyk(76.8%, 0%, 68%, 51%)
CIE-LABlab(45.74, -45.00, 37.39)
CIE-LCHlch(45.74, 58.51, 140.28°)
OKLaboklab(51.74% -0.1216 0.0866)
OKLCHoklch(51.74% 0.149 144.5)
XYZxyz(8.2228, 15.0807, 4.4846)
Luminance0.1508 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7D28 #7D1D72
analogous
#427D1D #1D7D28 #1D7D58
triadic
#1D7D28 #281D7D #7D281D
tetradic
#1D7D28 #1D427D #7D1D72 #7D581D
square
#1D7D28 #1D427D #7D1D72 #7D581D
split-complementary
#1D7D28 #581D7D #7D1D42
monochromatic
#061A08 #114B18 #1D7D28 #29AF38 #41D352

Accessibility & contrast

On white

5.23
#1D7D28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#1D7D28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7D28
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7D28#FFFFFF#000000##FFFFFF
##1D7D281.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F711D
Deuteranopia (green-blind)
#746930
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1d7d28;
/* rgb */ color: rgb(29, 125, 40);
/* oklch */ color: oklch(51.7% 0.149 144.5);
Tailwind
colors: {
  custom: {
    50: '#6aa466',
    500: '#1d7d28',
    950: '#000000',
  },
}
SCSS
$custom: #1d7d28;
$custom-light: #6aa466;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7d28",
  "rgb": {
    "r": 29,
    "g": 125,
    "b": 40
  },
  "hsl": {
    "h": 126.875,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51742,
    "c": 0.14932,
    "h": 144.5
  },
  "luminance": 0.15082
}

Semantic roles & 50–950 ramp

primary
#1D7D28
secondary
#B145A4
accent
#42D3E5
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1D7D28

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

Preview Lab → · Contrast checker → · Palette generator →

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