#1D7E28#1D7E28

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

Color values

HEX#1D7E28
RGBrgb(29, 126, 40)
HSLhsl(127, 63%, 30%)
HSVhsv(127, 77%, 49%)
CMYKcmyk(77%, 0%, 68.3%, 50.6%)
CIE-LABlab(46.09, -45.36, 37.77)
CIE-LCHlch(46.09, 59.02, 140.22°)
OKLaboklab(52.03% -0.1226 0.0874)
OKLCHoklch(52.03% 0.151 144.5)
XYZxyz(8.3500, 15.3352, 4.5270)
Luminance0.1534 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7E28 #7E1D73
analogous
#427E1D #1D7E28 #1D7E58
triadic
#1D7E28 #281D7E #7E281D
tetradic
#1D7E28 #1D427E #7E1D73 #7E581D
square
#1D7E28 #1D427E #7E1D73 #7E581D
split-complementary
#1D7E28 #581D7E #7E1D42
monochromatic
#061B08 #124C18 #1D7E28 #28B038 #42D352

Accessibility & contrast

On white

5.16
#1D7E28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#1D7E28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7E28
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7E28#FFFFFF#000000##FFFFFF
##1D7E281.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80721D
Deuteranopia (green-blind)
#756A30
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1d7e28;
/* rgb */ color: rgb(29, 126, 40);
/* oklch */ color: oklch(52.0% 0.151 144.5);
Tailwind
colors: {
  custom: {
    50: '#6aa466',
    500: '#1d7e28',
    950: '#000000',
  },
}
SCSS
$custom: #1d7e28;
$custom-light: #6aa466;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7e28",
  "rgb": {
    "r": 29,
    "g": 126,
    "b": 40
  },
  "hsl": {
    "h": 126.804,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52029,
    "c": 0.15056,
    "h": 144.5
  },
  "luminance": 0.15336
}

Semantic roles & 50–950 ramp

primary
#1D7E28
secondary
#B145A5
accent
#42D3E6
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1D7E28

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

Preview Lab → · Contrast checker → · Palette generator →

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