#2D802E#2D802E

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

Color values

HEX#2D802E
RGBrgb(45, 128, 46)
HSLhsl(121, 48%, 34%)
HSVhsv(121, 65%, 50%)
CMYKcmyk(64.8%, 0%, 64.1%, 49.8%)
CIE-LABlab(47.23, -42.17, 36.36)
CIE-LCHlch(47.23, 55.68, 139.24°)
OKLaboklab(53.1% -0.1145 0.085)
OKLCHoklch(53.1% 0.143 143.4)
XYZxyz(9.2940, 16.1926, 5.2199)
Luminance0.1619 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D802E #802D7F
analogous
#56802D #2D802E #2D8058
triadic
#2D802E #2E2D80 #802E2D
tetradic
#2D802E #2D5680 #802D7F #80582D
square
#2D802E #2D5680 #802D7F #80582D
split-complementary
#2D802E #582D80 #802D56
monochromatic
#0D250D #1D531E #2D802E #3DAD3E #60C761

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D802E#FFFFFF#000000##FFFFFF
##2D802E1.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)
#837425
Deuteranopia (green-blind)
#786D35
Tritanopia (blue-blind)
#1C7C6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2d802e;
/* rgb */ color: rgb(45, 128, 46);
/* oklch */ color: oklch(53.1% 0.143 143.4);
Tailwind
colors: {
  custom: {
    50: '#71a66a',
    500: '#2d802e',
    950: '#000000',
  },
}
SCSS
$custom: #2d802e;
$custom-light: #71a66a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d802e",
  "rgb": {
    "r": 45,
    "g": 128,
    "b": 46
  },
  "hsl": {
    "h": 120.723,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53101,
    "c": 0.14259,
    "h": 143.4
  },
  "luminance": 0.16193
}

Semantic roles & 50–950 ramp

primary
#2D802E
secondary
#AE5BAD
accent
#50D6D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2D802E

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

Preview Lab → · Contrast checker → · Palette generator →

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