#2B802E#2B802E

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

Color values

HEX#2B802E
RGBrgb(43, 128, 46)
HSLhsl(122, 50%, 34%)
HSVhsv(122, 66%, 50%)
CMYKcmyk(66.4%, 0%, 64.1%, 49.8%)
CIE-LABlab(47.17, -42.64, 36.27)
CIE-LCHlch(47.17, 55.98, 139.61°)
OKLaboklab(53.04% -0.1156 0.0848)
OKLCHoklch(53.04% 0.143 143.7)
XYZxyz(9.2080, 16.1483, 5.2159)
Luminance0.1615 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B802E #802B7D
analogous
#52802B #2B802E #2B8058
triadic
#2B802E #2E2B80 #802E2B
tetradic
#2B802E #2B5280 #802B7D #80582B
square
#2B802E #2B5280 #802B7D #80582B
split-complementary
#2B802E #582B80 #802B52
monochromatic
#0C240D #1C521E #2B802E #3AAE3E #5DC961

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B802E#FFFFFF#000000##FFFFFF
##2B802E1.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)
#837425
Deuteranopia (green-blind)
#786D35
Tritanopia (blue-blind)
#187C6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2b802e;
/* rgb */ color: rgb(43, 128, 46);
/* oklch */ color: oklch(53.0% 0.143 143.7);
Tailwind
colors: {
  custom: {
    50: '#70a66a',
    500: '#2b802e',
    950: '#000000',
  },
}
SCSS
$custom: #2b802e;
$custom-light: #70a66a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b802e",
  "rgb": {
    "r": 43,
    "g": 128,
    "b": 46
  },
  "hsl": {
    "h": 122.118,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53036,
    "c": 0.14342,
    "h": 143.7
  },
  "luminance": 0.16149
}

Semantic roles & 50–950 ramp

primary
#2B802E
secondary
#AE58AB
accent
#4FD4D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2B802E

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

Preview Lab → · Contrast checker → · Palette generator →

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