#2D802F#2D802F

#2D802F is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.1% C 0.142 H 143.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2D802F
RGBrgb(45, 128, 47)
HSLhsl(121, 48%, 34%)
HSVhsv(121, 65%, 50%)
CMYKcmyk(64.8%, 0%, 63.3%, 49.8%)
CIE-LABlab(47.24, -42.06, 35.89)
CIE-LCHlch(47.24, 55.29, 139.52°)
OKLaboklab(53.11% -0.1141 0.0841)
OKLCHoklch(53.11% 0.142 143.6)
XYZxyz(9.3139, 16.2006, 5.3250)
Luminance0.1620 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D802F #802D7E
analogous
#55802D #2D802F #2D8059
triadic
#2D802F #2F2D80 #802F2D
tetradic
#2D802F #2D5580 #802D7E #80592D
square
#2D802F #2D5580 #802D7E #80592D
split-complementary
#2D802F #592D80 #802D55
monochromatic
#0D250E #1D531E #2D802F #3DAD40 #60C763

Accessibility & contrast

On white

4.95
#2D802F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#2D802F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2D802F#FFFFFF#000000##FFFFFF
##2D802F1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837426
Deuteranopia (green-blind)
#786D36
Tritanopia (blue-blind)
#1C7C6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2d802f;
/* rgb */ color: rgb(45, 128, 47);
/* oklch */ color: oklch(53.1% 0.142 143.6);
Tailwind
colors: {
  custom: {
    50: '#71a66b',
    500: '#2d802f',
    950: '#000000',
  },
}
SCSS
$custom: #2d802f;
$custom-light: #71a66b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d802f",
  "rgb": {
    "r": 45,
    "g": 128,
    "b": 47
  },
  "hsl": {
    "h": 121.446,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53112,
    "c": 0.14176,
    "h": 143.6
  },
  "luminance": 0.16201
}

Semantic roles & 50–950 ramp

primary
#2D802F
secondary
#AE5BAC
accent
#50D4D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2D802F

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

Preview Lab → · Contrast checker → · Palette generator →

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