#2D802C#2D802C

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

Color values

HEX#2D802C
RGBrgb(45, 128, 44)
HSLhsl(119, 49%, 34%)
HSVhsv(119, 66%, 50%)
CMYKcmyk(64.8%, 0%, 65.6%, 49.8%)
CIE-LABlab(47.21, -42.41, 37.27)
CIE-LCHlch(47.21, 56.46, 138.69°)
OKLaboklab(53.08% -0.1152 0.0867)
OKLCHoklch(53.08% 0.144 143)
XYZxyz(9.2555, 16.1772, 5.0171)
Luminance0.1618 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D802C #7F2C80
analogous
#57802C #2D802C #2C8055
triadic
#2D802C #2C2D80 #802C2D
tetradic
#2D802C #2C5780 #7F2C80 #80552C
square
#2D802C #2C5780 #7F2C80 #80552C
split-complementary
#2D802C #552C80 #802C57
monochromatic
#0D250D #1D521C #2D802C #3DAE3C #60C85F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D802C#FFFFFF#000000##FFFFFF
##2D802C1.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)
#837422
Deuteranopia (green-blind)
#796D33
Tritanopia (blue-blind)
#1C7C6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2d802c;
/* rgb */ color: rgb(45, 128, 44);
/* oklch */ color: oklch(53.1% 0.144 143.0);
Tailwind
colors: {
  custom: {
    50: '#71a669',
    500: '#2d802c',
    950: '#000000',
  },
}
SCSS
$custom: #2d802c;
$custom-light: #71a669;
$custom-dark: #000000;
JSON
{
  "hex": "#2d802c",
  "rgb": {
    "r": 45,
    "g": 128,
    "b": 44
  },
  "hsl": {
    "h": 119.286,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53077,
    "c": 0.14423,
    "h": 143
  },
  "luminance": 0.16178
}

Semantic roles & 50–950 ramp

primary
#2D802C
secondary
#AD5AAE
accent
#4FD8D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2D802C

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

Preview Lab → · Contrast checker → · Palette generator →

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