#2B801A#2B801A

#2B801A is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.157 H 140.8°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2B801A
RGBrgb(43, 128, 26)
HSLhsl(110, 66%, 30%)
HSVhsv(110, 80%, 50%)
CMYKcmyk(66.4%, 0%, 79.7%, 49.8%)
CIE-LABlab(47.01, -44.53, 44.44)
CIE-LCHlch(47.01, 62.91, 135.06°)
OKLaboklab(52.85% -0.1219 0.0994)
OKLCHoklch(52.85% 0.157 140.8)
XYZxyz(8.9014, 16.0256, 3.6012)
Luminance0.1603 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B801A #6F1A80
analogous
#5E801A #2B801A #1A803C
triadic
#2B801A #1A2B80 #801A2B
tetradic
#2B801A #1A5E80 #6F1A80 #803C1A
square
#2B801A #1A5E80 #6F1A80 #803C1A
split-complementary
#2B801A #3C1A80 #801A5E
monochromatic
#091A05 #1A4D10 #2B801A #3CB324 #57D83D

Accessibility & contrast

On white

4.99
#2B801A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#2B801A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B801A
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B801A#FFFFFF#000000##FFFFFF
##2B801A1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837401
Deuteranopia (green-blind)
#796D26
Tritanopia (blue-blind)
#1C7C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2b801a;
/* rgb */ color: rgb(43, 128, 26);
/* oklch */ color: oklch(52.9% 0.157 140.8);
Tailwind
colors: {
  custom: {
    50: '#71a65f',
    500: '#2b801a',
    950: '#000000',
  },
}
SCSS
$custom: #2b801a;
$custom-light: #71a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b801a",
  "rgb": {
    "r": 43,
    "g": 128,
    "b": 26
  },
  "hsl": {
    "h": 110,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52852,
    "c": 0.15726,
    "h": 140.8
  },
  "luminance": 0.16027
}

Semantic roles & 50–950 ramp

primary
#2B801A
secondary
#A142B4
accent
#3FE9CD
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2B801A

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

Preview Lab → · Contrast checker → · Palette generator →

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