#1D802B#1D802B

#1D802B is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.6% C 0.151 H 145.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#1D802B
RGBrgb(29, 128, 43)
HSLhsl(128, 63%, 31%)
HSVhsv(128, 77%, 50%)
CMYKcmyk(77.3%, 0%, 66.4%, 49.8%)
CIE-LABlab(46.81, -45.72, 37.19)
CIE-LCHlch(46.81, 58.93, 140.88°)
OKLaboklab(52.63% -0.1234 0.0865)
OKLCHoklch(52.63% 0.151 145)
XYZxyz(8.6613, 15.8730, 4.8923)
Luminance0.1587 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D802B #801D72
analogous
#40801D #1D802B #1D805C
triadic
#1D802B #2B1D80 #802B1D
tetradic
#1D802B #1D4080 #801D72 #805C1D
square
#1D802B #1D4080 #801D72 #805C1D
split-complementary
#1D802B #5C1D80 #801D40
monochromatic
#061C09 #124E1A #1D802B #28B23C #43D458

Accessibility & contrast

On white

5.03
#1D802B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#1D802B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D802B
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D802B#FFFFFF#000000##FFFFFF
##1D802B1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827421
Deuteranopia (green-blind)
#776C33
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1d802b;
/* rgb */ color: rgb(29, 128, 43);
/* oklch */ color: oklch(52.6% 0.151 145.0);
Tailwind
colors: {
  custom: {
    50: '#6aa668',
    500: '#1d802b',
    950: '#000000',
  },
}
SCSS
$custom: #1d802b;
$custom-light: #6aa668;
$custom-dark: #000000;
JSON
{
  "hex": "#1d802b",
  "rgb": {
    "r": 29,
    "g": 128,
    "b": 43
  },
  "hsl": {
    "h": 128.485,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52633,
    "c": 0.15074,
    "h": 145
  },
  "luminance": 0.15874
}

Semantic roles & 50–950 ramp

primary
#1D802B
secondary
#B345A4
accent
#42CFE6
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #1D802B

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

Preview Lab → · Contrast checker → · Palette generator →

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