#2B802C#2B802C

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

Color values

HEX#2B802C
RGBrgb(43, 128, 44)
HSLhsl(121, 50%, 34%)
HSVhsv(121, 66%, 50%)
CMYKcmyk(66.4%, 0%, 65.6%, 49.8%)
CIE-LABlab(47.15, -42.87, 37.19)
CIE-LCHlch(47.15, 56.76, 139.06°)
OKLaboklab(53.01% -0.1164 0.0866)
OKLCHoklch(53.01% 0.145 143.4)
XYZxyz(9.1695, 16.1329, 5.0131)
Luminance0.1613 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B802C #802B7F
analogous
#54802B #2B802C #2B8056
triadic
#2B802C #2C2B80 #802C2B
tetradic
#2B802C #2B5480 #802B7F #80562B
square
#2B802C #2B5480 #802B7F #80562B
split-complementary
#2B802C #562B80 #802B54
monochromatic
#0C240D #1C521C #2B802C #3AAE3C #5DC95E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B802C#FFFFFF#000000##FFFFFF
##2B802C1.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)
#837422
Deuteranopia (green-blind)
#786D33
Tritanopia (blue-blind)
#187C6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2b802c;
/* rgb */ color: rgb(43, 128, 44);
/* oklch */ color: oklch(53.0% 0.145 143.4);
Tailwind
colors: {
  custom: {
    50: '#70a669',
    500: '#2b802c',
    950: '#000000',
  },
}
SCSS
$custom: #2b802c;
$custom-light: #70a669;
$custom-dark: #000000;
JSON
{
  "hex": "#2b802c",
  "rgb": {
    "r": 43,
    "g": 128,
    "b": 44
  },
  "hsl": {
    "h": 120.706,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53013,
    "c": 0.14505,
    "h": 143.4
  },
  "luminance": 0.16134
}

Semantic roles & 50–950 ramp

primary
#2B802C
secondary
#AE58AD
accent
#4FD8D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2B802C

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

Preview Lab → · Contrast checker → · Palette generator →

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