#2C804B#2C804B

#2C804B is a mid, moderate green. Relative luminance 0.165; OKLCH L 53.5% C 0.116 H 152.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2C804B
RGBrgb(44, 128, 75)
HSLhsl(142, 49%, 34%)
HSVhsv(142, 66%, 50%)
CMYKcmyk(65.6%, 0%, 41.4%, 49.8%)
CIE-LABlab(47.60, -37.88, 21.55)
CIE-LCHlch(47.60, 43.58, 150.36°)
OKLaboklab(53.53% -0.1024 0.0536)
OKLCHoklch(53.53% 0.116 152.4)
XYZxyz(10.0271, 16.4808, 9.3079)
Luminance0.1648 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C804B #802C61
analogous
#37802C #2C804B #2C8075
triadic
#2C804B #4B2C80 #804B2C
tetradic
#2C804B #2C3780 #802C61 #80752C
square
#2C804B #2C3780 #802C61 #80752C
split-complementary
#2C804B #752C80 #802C37
monochromatic
#0D2516 #1C5230 #2C804B #3CAE66 #5FC885

Accessibility & contrast

On white

4.89
#2C804B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#2C804B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C804B
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C804B#FFFFFF#000000##FFFFFF
##2C804B1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807647
Deuteranopia (green-blind)
#756E4E
Tritanopia (blue-blind)
#087E73
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c804b;
/* rgb */ color: rgb(44, 128, 75);
/* oklch */ color: oklch(53.5% 0.116 152.4);
Tailwind
colors: {
  custom: {
    50: '#6fa57e',
    500: '#2c804b',
    950: '#000000',
  },
}
SCSS
$custom: #2c804b;
$custom-light: #6fa57e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c804b",
  "rgb": {
    "r": 44,
    "g": 128,
    "b": 75
  },
  "hsl": {
    "h": 142.143,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5353,
    "c": 0.11555,
    "h": 152.4
  },
  "luminance": 0.16482
}

Semantic roles & 50–950 ramp

primary
#2C804B
secondary
#AE5A8F
accent
#4FA6D8
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2C804B

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

Preview Lab → · Contrast checker → · Palette generator →

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