#4C8119#4C8119

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

Color values

HEX#4C8119
RGBrgb(76, 129, 25)
HSLhsl(91, 68%, 30%)
HSVhsv(91, 81%, 51%)
CMYKcmyk(41.1%, 0%, 80.6%, 49.4%)
CIE-LABlab(48.64, -34.93, 46.79)
CIE-LCHlch(48.64, 58.39, 126.74°)
OKLaboklab(54.56% -0.0983 0.1037)
OKLCHoklch(54.56% 0.143 133.5)
XYZxyz(11.0060, 17.3067, 3.6801)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8119 #4E1981
analogous
#808119 #4C8119 #19811A
triadic
#4C8119 #194C81 #81194C
tetradic
#4C8119 #198081 #4E1981 #811A19
square
#4C8119 #198081 #4E1981 #811A19
split-complementary
#4C8119 #1A1981 #811980
monochromatic
#101A05 #2E4E0F #4C8119 #6AB423 #89D93B

Accessibility & contrast

On white

4.71
#4C8119 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#4C8119 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C8119
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8119#FFFFFF#000000##FFFFFF
##4C81191.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7F7224
Tritanopia (blue-blind)
#4C7C6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4c8119;
/* rgb */ color: rgb(76, 129, 25);
/* oklch */ color: oklch(54.6% 0.143 133.5);
Tailwind
colors: {
  custom: {
    50: '#83a65f',
    500: '#4c8119',
    950: '#000000',
  },
}
SCSS
$custom: #4c8119;
$custom-light: #83a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8119",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 25
  },
  "hsl": {
    "h": 90.577,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54559,
    "c": 0.1429,
    "h": 133.5
  },
  "luminance": 0.17307
}

Semantic roles & 50–950 ramp

primary
#4C8119
secondary
#7C41B5
accent
#3DEA96
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4C8119

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

Preview Lab → · Contrast checker → · Palette generator →

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