#2D802D#2D802D

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

Color values

HEX#2D802D
RGBrgb(45, 128, 45)
HSLhsl(120, 48%, 34%)
HSVhsv(120, 65%, 50%)
CMYKcmyk(64.8%, 0%, 64.8%, 49.8%)
CIE-LABlab(47.22, -42.29, 36.82)
CIE-LCHlch(47.22, 56.07, 138.96°)
OKLaboklab(53.09% -0.1149 0.0859)
OKLCHoklch(53.09% 0.143 143.2)
XYZxyz(9.2745, 16.1848, 5.1173)
Luminance0.1619 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D802D #802D80
analogous
#57802D #2D802D #2D8057
triadic
#2D802D #2D2D80 #802D2D
tetradic
#2D802D #2D5780 #802D80 #80572D
square
#2D802D #2D5780 #802D80 #80572D
split-complementary
#2D802D #572D80 #802D57
monochromatic
#0D250D #1D531D #2D802D #3DAD3D #60C760

Accessibility & contrast

On white

4.96
#2D802D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D802D
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D802D#FFFFFF#000000##FFFFFF
##2D802D1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837423
Deuteranopia (green-blind)
#786D34
Tritanopia (blue-blind)
#1C7C6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2d802d;
/* rgb */ color: rgb(45, 128, 45);
/* oklch */ color: oklch(53.1% 0.143 143.2);
Tailwind
colors: {
  custom: {
    50: '#71a669',
    500: '#2d802d',
    950: '#000000',
  },
}
SCSS
$custom: #2d802d;
$custom-light: #71a669;
$custom-dark: #000000;
JSON
{
  "hex": "#2d802d",
  "rgb": {
    "r": 45,
    "g": 128,
    "b": 45
  },
  "hsl": {
    "h": 120,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53089,
    "c": 0.14341,
    "h": 143.2
  },
  "luminance": 0.16186
}

Semantic roles & 50–950 ramp

primary
#2D802D
secondary
#AE5BAE
accent
#50D8D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2D802D

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

Preview Lab → · Contrast checker → · Palette generator →

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