#2C814F#2C814F

#2C814F is a mid, moderate green. Relative luminance 0.168; OKLCH L 53.9% C 0.113 H 154.0°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#2C814F
RGBrgb(44, 129, 79)
HSLhsl(145, 49%, 34%)
HSVhsv(145, 66%, 51%)
CMYKcmyk(65.9%, 0%, 38.8%, 49.4%)
CIE-LABlab(48.01, -37.51, 19.83)
CIE-LCHlch(48.01, 42.43, 152.13°)
OKLaboklab(53.89% -0.1015 0.0496)
OKLCHoklch(53.89% 0.113 154)
XYZxyz(10.2994, 16.7994, 10.0955)
Luminance0.1680 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C814F #812C5E
analogous
#34812C #2C814F #2C817A
triadic
#2C814F #4F2C81 #814F2C
tetradic
#2C814F #2C3481 #812C5E #817A2C
square
#2C814F #2C3481 #812C5E #817A2C
split-complementary
#2C814F #7A2C81 #812C34
monochromatic
#0D2617 #1C5333 #2C814F #3CAF6B #5FC88A

Accessibility & contrast

On white

4.82
#2C814F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#2C814F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C814F
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C814F#FFFFFF#000000##FFFFFF
##2C814F1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81774C
Deuteranopia (green-blind)
#766F52
Tritanopia (blue-blind)
#037F74
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2c814f;
/* rgb */ color: rgb(44, 129, 79);
/* oklch */ color: oklch(53.9% 0.113 154.0);
Tailwind
colors: {
  custom: {
    50: '#6fa680',
    500: '#2c814f',
    950: '#000000',
  },
}
SCSS
$custom: #2c814f;
$custom-light: #6fa680;
$custom-dark: #000000;
JSON
{
  "hex": "#2c814f",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 79
  },
  "hsl": {
    "h": 144.706,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53889,
    "c": 0.11301,
    "h": 154
  },
  "luminance": 0.168
}

Semantic roles & 50–950 ramp

primary
#2C814F
secondary
#AF5A8C
accent
#4FA0D9
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2C814F

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

Preview Lab → · Contrast checker → · Palette generator →

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