#2C812C#2C812C

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

Color values

HEX#2C812C
RGBrgb(44, 129, 44)
HSLhsl(120, 49%, 34%)
HSVhsv(120, 66%, 51%)
CMYKcmyk(65.9%, 0%, 65.9%, 49.4%)
CIE-LABlab(47.52, -43.02, 37.61)
CIE-LCHlch(47.52, 57.15, 138.84°)
OKLaboklab(53.33% -0.1168 0.0875)
OKLCHoklch(53.33% 0.146 143.2)
XYZxyz(9.3430, 16.4169, 5.0588)
Luminance0.1642 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C812C #812C81
analogous
#57812C #2C812C #2C8157
triadic
#2C812C #2C2C81 #812C2C
tetradic
#2C812C #2C5781 #812C81 #81572C
square
#2C812C #2C5781 #812C81 #81572C
split-complementary
#2C812C #572C81 #812C57
monochromatic
#0D260D #1C531C #2C812C #3CAF3C #5FC85F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C812C#FFFFFF#000000##FFFFFF
##2C812C1.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)
#847522
Deuteranopia (green-blind)
#796E33
Tritanopia (blue-blind)
#1A7D6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c812c;
/* rgb */ color: rgb(44, 129, 44);
/* oklch */ color: oklch(53.3% 0.146 143.2);
Tailwind
colors: {
  custom: {
    50: '#70a669',
    500: '#2c812c',
    950: '#000000',
  },
}
SCSS
$custom: #2c812c;
$custom-light: #70a669;
$custom-dark: #000000;
JSON
{
  "hex": "#2c812c",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 44
  },
  "hsl": {
    "h": 120,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53326,
    "c": 0.14595,
    "h": 143.2
  },
  "luminance": 0.16418
}

Semantic roles & 50–950 ramp

primary
#2C812C
secondary
#AF5AAF
accent
#4FD9D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2C812C

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

Preview Lab → · Contrast checker → · Palette generator →

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