#4C8110#4C8110

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

Color values

HEX#4C8110
RGBrgb(76, 129, 16)
HSLhsl(88, 78%, 28%)
HSVhsv(88, 88%, 51%)
CMYKcmyk(41.1%, 0%, 87.6%, 49.4%)
CIE-LABlab(48.60, -35.36, 49.35)
CIE-LCHlch(48.60, 60.71, 125.62°)
OKLaboklab(54.51% -0.1 0.1077)
OKLCHoklch(54.51% 0.147 132.9)
XYZxyz(10.9241, 17.2739, 3.2487)
Luminance0.1727 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8110 #451081
analogous
#817D10 #4C8110 #138110
triadic
#4C8110 #104C81 #81104C
tetradic
#4C8110 #10817D #451081 #811013
square
#4C8110 #10817D #451081 #811013
split-complementary
#4C8110 #101381 #7D1081
monochromatic
#101B03 #2C4B09 #4C8110 #6CB717 #8CE427

Accessibility & contrast

On white

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

On black

4.45
#4C8110 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4C8110#FFFFFF#000000##FFFFFF
##4C81101.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#80721F
Tritanopia (blue-blind)
#4C7B6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4c8110;
/* rgb */ color: rgb(76, 129, 16);
/* oklch */ color: oklch(54.5% 0.147 132.9);
Tailwind
colors: {
  custom: {
    50: '#84a65c',
    500: '#4c8110',
    950: '#000000',
  },
}
SCSS
$custom: #4c8110;
$custom-light: #84a65c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8110",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 16
  },
  "hsl": {
    "h": 88.142,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54513,
    "c": 0.14697,
    "h": 132.9
  },
  "luminance": 0.17274
}

Semantic roles & 50–950 ramp

primary
#4C8110
secondary
#7236B7
accent
#33F48E
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0B0F04
muted
#7C7F79

Preview Lab

Preview with #4C8110

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

Preview Lab → · Contrast checker → · Palette generator →

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