#2B801C#2B801C

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

Color values

HEX#2B801C
RGBrgb(43, 128, 28)
HSLhsl(111, 64%, 31%)
HSVhsv(111, 78%, 50%)
CMYKcmyk(66.4%, 0%, 78.1%, 49.8%)
CIE-LABlab(47.02, -44.38, 43.74)
CIE-LCHlch(47.02, 62.31, 135.42°)
OKLaboklab(52.87% -0.1214 0.0983)
OKLCHoklch(52.87% 0.156 141)
XYZxyz(8.9246, 16.0349, 3.7231)
Luminance0.1604 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B801C #711C80
analogous
#5D801C #2B801C #1C803F
triadic
#2B801C #1C2B80 #801C2B
tetradic
#2B801C #1C5D80 #711C80 #803F1C
square
#2B801C #1C5D80 #711C80 #803F1C
split-complementary
#2B801C #3F1C80 #801C5D
monochromatic
#091C06 #1A4E11 #2B801C #3CB227 #57D541

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B801C#FFFFFF#000000##FFFFFF
##2B801C1.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)
#837406
Deuteranopia (green-blind)
#796D27
Tritanopia (blue-blind)
#1C7C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2b801c;
/* rgb */ color: rgb(43, 128, 28);
/* oklch */ color: oklch(52.9% 0.156 141.0);
Tailwind
colors: {
  custom: {
    50: '#71a660',
    500: '#2b801c',
    950: '#000000',
  },
}
SCSS
$custom: #2b801c;
$custom-light: #71a660;
$custom-dark: #000000;
JSON
{
  "hex": "#2b801c",
  "rgb": {
    "r": 43,
    "g": 128,
    "b": 28
  },
  "hsl": {
    "h": 111,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52866,
    "c": 0.15615,
    "h": 141
  },
  "luminance": 0.16036
}

Semantic roles & 50–950 ramp

primary
#2B801C
secondary
#A344B3
accent
#41E7CE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2B801C

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

Preview Lab → · Contrast checker → · Palette generator →

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