#2B802D#2B802D

#2B802D is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.144 H 143.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#2B802D
RGBrgb(43, 128, 45)
HSLhsl(121, 50%, 34%)
HSVhsv(121, 66%, 50%)
CMYKcmyk(66.4%, 0%, 64.8%, 49.8%)
CIE-LABlab(47.16, -42.76, 36.74)
CIE-LCHlch(47.16, 56.37, 139.33°)
OKLaboklab(53.03% -0.116 0.0857)
OKLCHoklch(53.03% 0.144 143.5)
XYZxyz(9.1885, 16.1405, 5.1133)
Luminance0.1614 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B802D #802B7E
analogous
#53802B #2B802D #2B8057
triadic
#2B802D #2D2B80 #802D2B
tetradic
#2B802D #2B5380 #802B7E #80572B
square
#2B802D #2B5380 #802B7E #80572B
split-complementary
#2B802D #572B80 #802B53
monochromatic
#0C240D #1C521D #2B802D #3AAE3D #5DC95F

Accessibility & contrast

On white

4.97
#2B802D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B802D
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B802D#FFFFFF#000000##FFFFFF
##2B802D1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b802d;
/* rgb */ color: rgb(43, 128, 45);
/* oklch */ color: oklch(53.0% 0.144 143.5);
Tailwind
colors: {
  custom: {
    50: '#70a669',
    500: '#2b802d',
    950: '#000000',
  },
}
SCSS
$custom: #2b802d;
$custom-light: #70a669;
$custom-dark: #000000;
JSON
{
  "hex": "#2b802d",
  "rgb": {
    "r": 43,
    "g": 128,
    "b": 45
  },
  "hsl": {
    "h": 121.412,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53025,
    "c": 0.14424,
    "h": 143.5
  },
  "luminance": 0.16141
}

Semantic roles & 50–950 ramp

primary
#2B802D
secondary
#AE58AC
accent
#4FD6D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2B802D

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

Preview Lab → · Contrast checker → · Palette generator →

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