#2C804F#2C804F

#2C804F is a mid, moderate green. Relative luminance 0.165; OKLCH L 53.6% C 0.112 H 154.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2C804F
RGBrgb(44, 128, 79)
HSLhsl(145, 49%, 34%)
HSVhsv(145, 66%, 50%)
CMYKcmyk(65.6%, 0%, 38.3%, 49.8%)
CIE-LABlab(47.67, -37.09, 19.39)
CIE-LCHlch(47.67, 41.85, 152.40°)
OKLaboklab(53.61% -0.1004 0.0485)
OKLCHoklch(53.61% 0.112 154.2)
XYZxyz(10.1683, 16.5373, 10.0518)
Luminance0.1654 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C804F #802C5D
analogous
#33802C #2C804F #2C8079
triadic
#2C804F #4F2C80 #804F2C
tetradic
#2C804F #2C3380 #802C5D #80792C
square
#2C804F #2C3380 #802C5D #80792C
split-complementary
#2C804F #792C80 #802C33
monochromatic
#0D2517 #1C5233 #2C804F #3CAE6B #5FC88A

Accessibility & contrast

On white

4.88
#2C804F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#2C804F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C804F
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C804F#FFFFFF#000000##FFFFFF
##2C804F1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80764C
Deuteranopia (green-blind)
#756E52
Tritanopia (blue-blind)
#047F74
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c804f;
/* rgb */ color: rgb(44, 128, 79);
/* oklch */ color: oklch(53.6% 0.112 154.2);
Tailwind
colors: {
  custom: {
    50: '#6fa580',
    500: '#2c804f',
    950: '#000000',
  },
}
SCSS
$custom: #2c804f;
$custom-light: #6fa580;
$custom-dark: #000000;
JSON
{
  "hex": "#2c804f",
  "rgb": {
    "r": 44,
    "g": 128,
    "b": 79
  },
  "hsl": {
    "h": 145,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53614,
    "c": 0.11153,
    "h": 154.2
  },
  "luminance": 0.16538
}

Semantic roles & 50–950 ramp

primary
#2C804F
secondary
#AE5A8B
accent
#4F9FD8
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2C804F

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

Preview Lab → · Contrast checker → · Palette generator →

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