#2C812B#2C812B

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

Color values

HEX#2C812B
RGBrgb(44, 129, 43)
HSLhsl(119, 50%, 34%)
HSVhsv(119, 67%, 51%)
CMYKcmyk(65.9%, 0%, 66.7%, 49.4%)
CIE-LABlab(47.51, -43.13, 38.06)
CIE-LCHlch(47.51, 57.53, 138.57°)
OKLaboklab(53.32% -0.1172 0.0883)
OKLCHoklch(53.32% 0.147 143)
XYZxyz(9.3245, 16.4095, 4.9610)
Luminance0.1641 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C812B #802B81
analogous
#57812B #2C812B #2B8155
triadic
#2C812B #2B2C81 #812B2C
tetradic
#2C812B #2B5781 #802B81 #81552B
square
#2C812B #2B5781 #802B81 #81552B
split-complementary
#2C812B #552B81 #812B57
monochromatic
#0D250C #1C531C #2C812B #3CAF3A #5FC95D

Accessibility & contrast

On white

4.90
#2C812B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#2C812B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C812B
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C812B#FFFFFF#000000##FFFFFF
##2C812B1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847520
Deuteranopia (green-blind)
#796E33
Tritanopia (blue-blind)
#1A7D6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c812b;
/* rgb */ color: rgb(44, 129, 43);
/* oklch */ color: oklch(53.3% 0.147 143.0);
Tailwind
colors: {
  custom: {
    50: '#71a668',
    500: '#2c812b',
    950: '#000000',
  },
}
SCSS
$custom: #2c812b;
$custom-light: #71a668;
$custom-dark: #000000;
JSON
{
  "hex": "#2c812b",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 43
  },
  "hsl": {
    "h": 119.302,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53315,
    "c": 0.14674,
    "h": 143
  },
  "luminance": 0.1641
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C812B

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

Preview Lab → · Contrast checker → · Palette generator →

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