#4C8120#4C8120

#4C8120 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.6% C 0.139 H 134.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4C8120
RGBrgb(76, 129, 32)
HSLhsl(93, 60%, 32%)
HSVhsv(93, 75%, 51%)
CMYKcmyk(41.1%, 0%, 75.2%, 49.4%)
CIE-LABlab(48.69, -34.49, 44.34)
CIE-LCHlch(48.69, 56.17, 127.88°)
OKLaboklab(54.61% -0.0966 0.0997)
OKLCHoklch(54.61% 0.139 134.1)
XYZxyz(11.0913, 17.3407, 4.1289)
Luminance0.1734 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8120 #552081
analogous
#7D8120 #4C8120 #208125
triadic
#4C8120 #204C81 #81204C
tetradic
#4C8120 #207D81 #552081 #812520
square
#4C8120 #207D81 #552081 #812520
split-complementary
#4C8120 #252081 #81207D
monochromatic
#121F08 #2F5014 #4C8120 #69B22C #87D249

Accessibility & contrast

On white

4.70
#4C8120 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#4C8120 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C8120
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8120#FFFFFF#000000##FFFFFF
##4C81201.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86760E
Deuteranopia (green-blind)
#7F7229
Tritanopia (blue-blind)
#4B7C6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4c8120;
/* rgb */ color: rgb(76, 129, 32);
/* oklch */ color: oklch(54.6% 0.139 134.1);
Tailwind
colors: {
  custom: {
    50: '#83a662',
    500: '#4c8120',
    950: '#000000',
  },
}
SCSS
$custom: #4c8120;
$custom-light: #83a662;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8120",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 32
  },
  "hsl": {
    "h": 92.784,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54608,
    "c": 0.13881,
    "h": 134.1
  },
  "luminance": 0.17341
}

Semantic roles & 50–950 ramp

primary
#4C8120
secondary
#8349B4
accent
#44E39B
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4C8120

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

Preview Lab → · Contrast checker → · Palette generator →

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