#2B802A#2B802A

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

Color values

HEX#2B802A
RGBrgb(43, 128, 42)
HSLhsl(119, 51%, 33%)
HSVhsv(119, 67%, 50%)
CMYKcmyk(66.4%, 0%, 67.2%, 49.8%)
CIE-LABlab(47.13, -43.10, 38.09)
CIE-LCHlch(47.13, 57.52, 138.53°)
OKLaboklab(52.99% -0.1171 0.0883)
OKLCHoklch(52.99% 0.147 143)
XYZxyz(9.1328, 16.1182, 4.8199)
Luminance0.1612 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B802A #7F2A80
analogous
#56802A #2B802A #2A8054
triadic
#2B802A #2A2B80 #802A2B
tetradic
#2B802A #2A5680 #7F2A80 #80542A
square
#2B802A #2A5680 #7F2A80 #80542A
split-complementary
#2B802A #542A80 #802A56
monochromatic
#0C240C #1C521B #2B802A #3AAE39 #5CC95B

Accessibility & contrast

On white

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

On black

4.22
#2B802A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2B802A#FFFFFF#000000##FFFFFF
##2B802A1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741F
Deuteranopia (green-blind)
#786D32
Tritanopia (blue-blind)
#197C6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2b802a;
/* rgb */ color: rgb(43, 128, 42);
/* oklch */ color: oklch(53.0% 0.147 143.0);
Tailwind
colors: {
  custom: {
    50: '#70a668',
    500: '#2b802a',
    950: '#000000',
  },
}
SCSS
$custom: #2b802a;
$custom-light: #70a668;
$custom-dark: #000000;
JSON
{
  "hex": "#2b802a",
  "rgb": {
    "r": 43,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 119.302,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52991,
    "c": 0.14664,
    "h": 143
  },
  "luminance": 0.16119
}

Semantic roles & 50–950 ramp

primary
#2B802A
secondary
#AE57AF
accent
#4EDAD8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2B802A

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

Preview Lab → · Contrast checker → · Palette generator →

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