#2C812D#2C812D

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

Color values

HEX#2C812D
RGBrgb(44, 129, 45)
HSLhsl(121, 49%, 34%)
HSVhsv(121, 66%, 51%)
CMYKcmyk(65.9%, 0%, 65.1%, 49.4%)
CIE-LABlab(47.53, -42.91, 37.16)
CIE-LCHlch(47.53, 56.76, 139.11°)
OKLaboklab(53.34% -0.1165 0.0866)
OKLCHoklch(53.34% 0.145 143.4)
XYZxyz(9.3621, 16.4245, 5.1590)
Luminance0.1643 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C812D #812C80
analogous
#56812C #2C812D #2C8158
triadic
#2C812D #2D2C81 #812D2C
tetradic
#2C812D #2C5681 #812C80 #81582C
square
#2C812D #2C5681 #812C80 #81582C
split-complementary
#2C812D #582C81 #812C56
monochromatic
#0D260D #1C531D #2C812D #3CAF3D #5FC860

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C812D#FFFFFF#000000##FFFFFF
##2C812D1.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)
#847523
Deuteranopia (green-blind)
#796E34
Tritanopia (blue-blind)
#1A7D6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c812d;
/* rgb */ color: rgb(44, 129, 45);
/* oklch */ color: oklch(53.3% 0.145 143.4);
Tailwind
colors: {
  custom: {
    50: '#70a669',
    500: '#2c812d',
    950: '#000000',
  },
}
SCSS
$custom: #2c812d;
$custom-light: #70a669;
$custom-dark: #000000;
JSON
{
  "hex": "#2c812d",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 45
  },
  "hsl": {
    "h": 120.706,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53337,
    "c": 0.14515,
    "h": 143.4
  },
  "luminance": 0.16425
}

Semantic roles & 50–950 ramp

primary
#2C812D
secondary
#AF5AAE
accent
#4FD7D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2C812D

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

Preview Lab → · Contrast checker → · Palette generator →

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