#1D802A#1D802A

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

Color values

HEX#1D802A
RGBrgb(29, 128, 42)
HSLhsl(128, 63%, 31%)
HSVhsv(128, 77%, 50%)
CMYKcmyk(77.3%, 0%, 67.2%, 49.8%)
CIE-LABlab(46.80, -45.84, 37.64)
CIE-LCHlch(46.80, 59.31, 140.61°)
OKLaboklab(52.62% -0.1238 0.0874)
OKLCHoklch(52.62% 0.152 144.8)
XYZxyz(8.6432, 15.8657, 4.7969)
Luminance0.1587 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D802A #801D73
analogous
#41801D #1D802A #1D805B
triadic
#1D802A #2A1D80 #802A1D
tetradic
#1D802A #1D4180 #801D73 #805B1D
square
#1D802A #1D4180 #801D73 #805B1D
split-complementary
#1D802A #5B1D80 #801D41
monochromatic
#061C09 #124E1A #1D802A #28B23A #43D456

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D802A#FFFFFF#000000##FFFFFF
##1D802A1.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)
#82741F
Deuteranopia (green-blind)
#776C32
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1d802a;
/* rgb */ color: rgb(29, 128, 42);
/* oklch */ color: oklch(52.6% 0.152 144.8);
Tailwind
colors: {
  custom: {
    50: '#6ba668',
    500: '#1d802a',
    950: '#000000',
  },
}
SCSS
$custom: #1d802a;
$custom-light: #6ba668;
$custom-dark: #000000;
JSON
{
  "hex": "#1d802a",
  "rgb": {
    "r": 29,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 127.879,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52622,
    "c": 0.15152,
    "h": 144.8
  },
  "luminance": 0.15867
}

Semantic roles & 50–950 ramp

primary
#1D802A
secondary
#B345A5
accent
#42D1E6
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #1D802A

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

Preview Lab → · Contrast checker → · Palette generator →

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