#1D802F#1D802F

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

Color values

HEX#1D802F
RGBrgb(29, 128, 47)
HSLhsl(131, 63%, 31%)
HSVhsv(131, 77%, 50%)
CMYKcmyk(77.3%, 0%, 63.3%, 49.8%)
CIE-LABlab(46.85, -45.23, 35.34)
CIE-LCHlch(46.85, 57.40, 142.00°)
OKLaboklab(52.68% -0.1219 0.083)
OKLCHoklch(52.68% 0.148 145.8)
XYZxyz(8.7383, 15.9038, 5.2980)
Luminance0.1590 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D802F #801D6E
analogous
#3C801D #1D802F #1D8060
triadic
#1D802F #2F1D80 #802F1D
tetradic
#1D802F #1D3C80 #801D6E #80601D
square
#1D802F #1D3C80 #801D6E #80601D
split-complementary
#1D802F #601D80 #801D3C
monochromatic
#061C0A #124E1D #1D802F #28B241 #43D45D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D802F#FFFFFF#000000##FFFFFF
##1D802F1.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)
#827426
Deuteranopia (green-blind)
#776C36
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1d802f;
/* rgb */ color: rgb(29, 128, 47);
/* oklch */ color: oklch(52.7% 0.148 145.8);
Tailwind
colors: {
  custom: {
    50: '#6aa66b',
    500: '#1d802f',
    950: '#000000',
  },
}
SCSS
$custom: #1d802f;
$custom-light: #6aa66b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d802f",
  "rgb": {
    "r": 29,
    "g": 128,
    "b": 47
  },
  "hsl": {
    "h": 130.909,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5268,
    "c": 0.14751,
    "h": 145.8
  },
  "luminance": 0.15905
}

Semantic roles & 50–950 ramp

primary
#1D802F
secondary
#B3459F
accent
#42C8E6
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1D802F

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

Preview Lab → · Contrast checker → · Palette generator →

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