#1D802E#1D802E

#1D802E is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.148 H 145.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#1D802E
RGBrgb(29, 128, 46)
HSLhsl(130, 63%, 31%)
HSVhsv(130, 77%, 50%)
CMYKcmyk(77.3%, 0%, 64.1%, 49.8%)
CIE-LABlab(46.84, -45.36, 35.81)
CIE-LCHlch(46.84, 57.79, 141.71°)
OKLaboklab(52.67% -0.1223 0.0839)
OKLCHoklch(52.67% 0.148 145.6)
XYZxyz(8.7184, 15.8958, 5.1930)
Luminance0.1590 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D802E #801D6F
analogous
#3D801D #1D802E #1D805F
triadic
#1D802E #2E1D80 #802E1D
tetradic
#1D802E #1D3D80 #801D6F #805F1D
square
#1D802E #1D3D80 #801D6F #805F1D
split-complementary
#1D802E #5F1D80 #801D3D
monochromatic
#061C0A #124E1C #1D802E #28B240 #43D45C

Accessibility & contrast

On white

5.02
#1D802E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1D802E
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D802E#FFFFFF#000000##FFFFFF
##1D802E1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827425
Deuteranopia (green-blind)
#776C35
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1d802e;
/* rgb */ color: rgb(29, 128, 46);
/* oklch */ color: oklch(52.7% 0.148 145.6);
Tailwind
colors: {
  custom: {
    50: '#6aa66a',
    500: '#1d802e',
    950: '#000000',
  },
}
SCSS
$custom: #1d802e;
$custom-light: #6aa66a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d802e",
  "rgb": {
    "r": 29,
    "g": 128,
    "b": 46
  },
  "hsl": {
    "h": 130.303,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52668,
    "c": 0.14833,
    "h": 145.6
  },
  "luminance": 0.15897
}

Semantic roles & 50–950 ramp

primary
#1D802E
secondary
#B345A0
accent
#42CAE6
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #1D802E

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

Preview Lab → · Contrast checker → · Palette generator →

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