#2C811B#2C811B

#2C811B is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.2% C 0.158 H 140.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2C811B
RGBrgb(44, 129, 27)
HSLhsl(110, 65%, 31%)
HSVhsv(110, 79%, 51%)
CMYKcmyk(65.9%, 0%, 79.1%, 49.4%)
CIE-LABlab(47.38, -44.58, 44.46)
CIE-LCHlch(47.38, 62.97, 135.08°)
OKLaboklab(53.17% -0.122 0.0996)
OKLCHoklch(53.17% 0.158 140.8)
XYZxyz(9.0863, 16.3142, 3.7068)
Luminance0.1631 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C811B #701B81
analogous
#5F811B #2C811B #1B813D
triadic
#2C811B #1B2C81 #811B2C
tetradic
#2C811B #1B5F81 #701B81 #813D1B
square
#2C811B #1B5F81 #701B81 #813D1B
split-complementary
#2C811B #3D1B81 #811B5F
monochromatic
#091C06 #1B4E10 #2C811B #3DB426 #59D73F

Accessibility & contrast

On white

4.93
#2C811B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#2C811B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C811B
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C811B#FFFFFF#000000##FFFFFF
##2C811B1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857503
Deuteranopia (green-blind)
#7A6E26
Tritanopia (blue-blind)
#1E7D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2c811b;
/* rgb */ color: rgb(44, 129, 27);
/* oklch */ color: oklch(53.2% 0.158 140.8);
Tailwind
colors: {
  custom: {
    50: '#71a660',
    500: '#2c811b',
    950: '#000000',
  },
}
SCSS
$custom: #2c811b;
$custom-light: #71a660;
$custom-dark: #000000;
JSON
{
  "hex": "#2c811b",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 110,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53174,
    "c": 0.15752,
    "h": 140.8
  },
  "luminance": 0.16315
}

Semantic roles & 50–950 ramp

primary
#2C811B
secondary
#A243B5
accent
#3FE8CC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2C811B

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

Preview Lab → · Contrast checker → · Palette generator →

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