#2D802A#2D802A

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

Color values

HEX#2D802A
RGBrgb(45, 128, 42)
HSLhsl(118, 51%, 33%)
HSVhsv(118, 67%, 50%)
CMYKcmyk(64.8%, 0%, 67.2%, 49.8%)
CIE-LABlab(47.19, -42.63, 38.17)
CIE-LCHlch(47.19, 57.22, 138.16°)
OKLaboklab(53.06% -0.1159 0.0884)
OKLCHoklch(53.06% 0.146 142.7)
XYZxyz(9.2188, 16.1625, 4.8239)
Luminance0.1616 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D802A #7D2A80
analogous
#58802A #2D802A #2A8052
triadic
#2D802A #2A2D80 #802A2D
tetradic
#2D802A #2A5880 #7D2A80 #80522A
square
#2D802A #2A5880 #7D2A80 #80522A
split-complementary
#2D802A #522A80 #802A58
monochromatic
#0D240C #1D521B #2D802A #3DAE39 #5FC95B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D802A#FFFFFF#000000##FFFFFF
##2D802A1.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)
#83741F
Deuteranopia (green-blind)
#796D32
Tritanopia (blue-blind)
#1D7C6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2d802a;
/* rgb */ color: rgb(45, 128, 42);
/* oklch */ color: oklch(53.1% 0.146 142.7);
Tailwind
colors: {
  custom: {
    50: '#71a668',
    500: '#2d802a',
    950: '#000000',
  },
}
SCSS
$custom: #2d802a;
$custom-light: #71a668;
$custom-dark: #000000;
JSON
{
  "hex": "#2d802a",
  "rgb": {
    "r": 45,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 117.907,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53056,
    "c": 0.14581,
    "h": 142.7
  },
  "luminance": 0.16163
}

Semantic roles & 50–950 ramp

primary
#2D802A
secondary
#AC57AF
accent
#4EDAD5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2D802A

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

Preview Lab → · Contrast checker → · Palette generator →

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