#1D802C#1D802C

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

Color values

HEX#1D802C
RGBrgb(29, 128, 44)
HSLhsl(129, 63%, 31%)
HSVhsv(129, 77%, 50%)
CMYKcmyk(77.3%, 0%, 65.6%, 49.8%)
CIE-LABlab(46.82, -45.60, 36.73)
CIE-LCHlch(46.82, 58.56, 141.15°)
OKLaboklab(52.64% -0.1231 0.0857)
OKLCHoklch(52.64% 0.15 145.2)
XYZxyz(8.6799, 15.8804, 4.9902)
Luminance0.1588 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D802C #801D71
analogous
#3F801D #1D802C #1D805D
triadic
#1D802C #2C1D80 #802C1D
tetradic
#1D802C #1D3F80 #801D71 #805D1D
square
#1D802C #1D3F80 #801D71 #805D1D
split-complementary
#1D802C #5D1D80 #801D3F
monochromatic
#061C0A #124E1B #1D802C #28B23D #43D459

Accessibility & contrast

On white

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

On black

4.18
#1D802C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1D802C#FFFFFF#000000##FFFFFF
##1D802C1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d802c;
/* rgb */ color: rgb(29, 128, 44);
/* oklch */ color: oklch(52.6% 0.150 145.2);
Tailwind
colors: {
  custom: {
    50: '#6aa669',
    500: '#1d802c',
    950: '#000000',
  },
}
SCSS
$custom: #1d802c;
$custom-light: #6aa669;
$custom-dark: #000000;
JSON
{
  "hex": "#1d802c",
  "rgb": {
    "r": 29,
    "g": 128,
    "b": 44
  },
  "hsl": {
    "h": 129.091,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52644,
    "c": 0.14995,
    "h": 145.2
  },
  "luminance": 0.15881
}

Semantic roles & 50–950 ramp

primary
#1D802C
secondary
#B345A3
accent
#42CDE6
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #1D802C

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

Preview Lab → · Contrast checker → · Palette generator →

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