#4C8129#4C8129

#4C8129 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.7% C 0.132 H 135.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4C8129
RGBrgb(76, 129, 41)
HSLhsl(96, 52%, 33%)
HSVhsv(96, 68%, 51%)
CMYKcmyk(41.1%, 0%, 68.2%, 49.4%)
CIE-LABlab(48.76, -33.77, 40.69)
CIE-LCHlch(48.76, 52.87, 129.69°)
OKLaboklab(54.69% -0.094 0.0933)
OKLCHoklch(54.69% 0.132 135.2)
XYZxyz(11.2307, 17.3965, 4.8635)
Luminance0.1740 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8129 #5E2981
analogous
#788129 #4C8129 #298132
triadic
#4C8129 #294C81 #81294C
tetradic
#4C8129 #297881 #5E2981 #813229
square
#4C8129 #297881 #5E2981 #813229
split-complementary
#4C8129 #322981 #812978
monochromatic
#15240B #31531A #4C8129 #67AF38 #87CB5A

Accessibility & contrast

On white

4.69
#4C8129 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#4C8129 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C8129
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8129#FFFFFF#000000##FFFFFF
##4C81291.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86771D
Deuteranopia (green-blind)
#7E7230
Tritanopia (blue-blind)
#4B7C6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4c8129;
/* rgb */ color: rgb(76, 129, 41);
/* oklch */ color: oklch(54.7% 0.132 135.2);
Tailwind
colors: {
  custom: {
    50: '#82a667',
    500: '#4c8129',
    950: '#000000',
  },
}
SCSS
$custom: #4c8129;
$custom-light: #82a667;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8129",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 41
  },
  "hsl": {
    "h": 96.136,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54687,
    "c": 0.13241,
    "h": 135.2
  },
  "luminance": 0.17397
}

Semantic roles & 50–950 ramp

primary
#4C8129
secondary
#8C56B0
accent
#4DDBA2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4C8129

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

Preview Lab → · Contrast checker → · Palette generator →

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