#2B802B#2B802B

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

Color values

HEX#2B802B
RGBrgb(43, 128, 43)
HSLhsl(120, 50%, 34%)
HSVhsv(120, 66%, 50%)
CMYKcmyk(66.4%, 0%, 66.4%, 49.8%)
CIE-LABlab(47.14, -42.99, 37.65)
CIE-LCHlch(47.14, 57.14, 138.79°)
OKLaboklab(53% -0.1167 0.0874)
OKLCHoklch(53% 0.146 143.2)
XYZxyz(9.1509, 16.1254, 4.9153)
Luminance0.1613 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B802B #802B80
analogous
#55802B #2B802B #2B8055
triadic
#2B802B #2B2B80 #802B2B
tetradic
#2B802B #2B5580 #802B80 #80552B
square
#2B802B #2B5580 #802B80 #80552B
split-complementary
#2B802B #552B80 #802B55
monochromatic
#0C240C #1C521C #2B802B #3AAE3A #5DC95D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B802B#FFFFFF#000000##FFFFFF
##2B802B1.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)
#837421
Deuteranopia (green-blind)
#786D32
Tritanopia (blue-blind)
#197C6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2b802b;
/* rgb */ color: rgb(43, 128, 43);
/* oklch */ color: oklch(53.0% 0.146 143.2);
Tailwind
colors: {
  custom: {
    50: '#70a668',
    500: '#2b802b',
    950: '#000000',
  },
}
SCSS
$custom: #2b802b;
$custom-light: #70a668;
$custom-dark: #000000;
JSON
{
  "hex": "#2b802b",
  "rgb": {
    "r": 43,
    "g": 128,
    "b": 43
  },
  "hsl": {
    "h": 120,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53002,
    "c": 0.14584,
    "h": 143.2
  },
  "luminance": 0.16126
}

Semantic roles & 50–950 ramp

primary
#2B802B
secondary
#AE58AE
accent
#4FD9D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2B802B

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

Preview Lab → · Contrast checker → · Palette generator →

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