#2D802B#2D802B

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

Color values

HEX#2D802B
RGBrgb(45, 128, 43)
HSLhsl(119, 50%, 34%)
HSVhsv(119, 66%, 50%)
CMYKcmyk(64.8%, 0%, 66.4%, 49.8%)
CIE-LABlab(47.20, -42.52, 37.73)
CIE-LCHlch(47.20, 56.84, 138.42°)
OKLaboklab(53.07% -0.1156 0.0876)
OKLCHoklch(53.07% 0.145 142.8)
XYZxyz(9.2369, 16.1697, 4.9193)
Luminance0.1617 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D802B #7E2B80
analogous
#57802B #2D802B #2B8053
triadic
#2D802B #2B2D80 #802B2D
tetradic
#2D802B #2B5780 #7E2B80 #80532B
square
#2D802B #2B5780 #7E2B80 #80532B
split-complementary
#2D802B #532B80 #802B57
monochromatic
#0D240C #1D521C #2D802B #3DAE3A #5FC95D

Accessibility & contrast

On white

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

On black

4.23
#2D802B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2D802B#FFFFFF#000000##FFFFFF
##2D802B1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837421
Deuteranopia (green-blind)
#796D32
Tritanopia (blue-blind)
#1D7C6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2d802b;
/* rgb */ color: rgb(45, 128, 43);
/* oklch */ color: oklch(53.1% 0.145 142.8);
Tailwind
colors: {
  custom: {
    50: '#71a668',
    500: '#2d802b',
    950: '#000000',
  },
}
SCSS
$custom: #2d802b;
$custom-light: #71a668;
$custom-dark: #000000;
JSON
{
  "hex": "#2d802b",
  "rgb": {
    "r": 45,
    "g": 128,
    "b": 43
  },
  "hsl": {
    "h": 118.588,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53066,
    "c": 0.14502,
    "h": 142.8
  },
  "luminance": 0.16171
}

Semantic roles & 50–950 ramp

primary
#2D802B
secondary
#AC58AE
accent
#4FD9D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2D802B

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

Preview Lab → · Contrast checker → · Palette generator →

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