#4C8151#4C8151

#4C8151 is a mid, moderate green. Relative luminance 0.178; OKLCH L 55.3% C 0.093 H 146.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#4C8151
RGBrgb(76, 129, 81)
HSLhsl(126, 26%, 40%)
HSVhsv(126, 41%, 51%)
CMYKcmyk(41.1%, 0%, 37.2%, 49.4%)
CIE-LABlab(49.29, -28.41, 20.63)
CIE-LCHlch(49.29, 35.11, 144.01°)
OKLaboklab(55.3% -0.0774 0.0515)
OKLCHoklch(55.3% 0.093 146.3)
XYZxyz(12.3153, 17.8304, 10.5757)
Luminance0.1783 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8151 #814C7C
analogous
#62814C #4C8151 #4C816B
triadic
#4C8151 #514C81 #81514C
tetradic
#4C8151 #4C6281 #814C7C #816B4C
square
#4C8151 #4C6281 #814C7C #816B4C
split-complementary
#4C8151 #6B4C81 #814C62
monochromatic
#1F3421 #355A39 #4C8151 #66A56C #8CBB91

Accessibility & contrast

On white

4.60
#4C8151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#4C8151 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4C8151
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8151#FFFFFF#000000##FFFFFF
##4C81511.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83784E
Deuteranopia (green-blind)
#7B7354
Tritanopia (blue-blind)
#457F75
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4c8151;
/* rgb */ color: rgb(76, 129, 81);
/* oklch */ color: oklch(55.3% 0.093 146.3);
Tailwind
colors: {
  custom: {
    50: '#81a682',
    500: '#4c8151',
    950: '#000000',
  },
}
SCSS
$custom: #4c8151;
$custom-light: #81a682;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8151",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 81
  },
  "hsl": {
    "h": 125.66,
    "s": 25.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.55295,
    "c": 0.09297,
    "h": 146.3
  },
  "luminance": 0.17831
}

Semantic roles & 50–950 ramp

primary
#4C8151
secondary
#A881A4
accent
#66B9C2
background
#F8FAF8
surface
#EFF4EF
border
#CACECA
text
#0A0F0A
muted
#7C7F7C

Preview Lab

Preview with #4C8151

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

Preview Lab → · Contrast checker → · Palette generator →

#4C8151 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva