#4C8518#4C8518

#4C8518 is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 55.6% C 0.149 H 134.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4C8518
RGBrgb(76, 133, 24)
HSLhsl(91, 69%, 31%)
HSVhsv(91, 82%, 52%)
CMYKcmyk(42.9%, 0%, 82%, 47.8%)
CIE-LABlab(49.95, -36.73, 48.33)
CIE-LCHlch(49.95, 60.70, 127.24°)
OKLaboklab(55.63% -0.1032 0.1068)
OKLCHoklch(55.63% 0.149 134)
XYZxyz(11.5327, 18.3769, 3.8034)
Luminance0.1838 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8518 #511885
analogous
#828518 #4C8518 #18851A
triadic
#4C8518 #184C85 #85184C
tetradic
#4C8518 #188285 #511885 #851A18
square
#4C8518 #188285 #511885 #851A18
split-complementary
#4C8518 #1A1885 #851882
monochromatic
#111D05 #2E510F #4C8518 #6AB921 #88DC3C

Accessibility & contrast

On white

4.49
#4C8518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#4C8518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8518
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8518#FFFFFF#000000##000000
##4C85181.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#837524
Tritanopia (blue-blind)
#4B7F71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4c8518;
/* rgb */ color: rgb(76, 133, 24);
/* oklch */ color: oklch(55.6% 0.149 134.0);
Tailwind
colors: {
  custom: {
    50: '#84a95f',
    500: '#4c8518',
    950: '#000000',
  },
}
SCSS
$custom: #4c8518;
$custom-light: #84a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8518",
  "rgb": {
    "r": 76,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 91.376,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55628,
    "c": 0.14851,
    "h": 134
  },
  "luminance": 0.18378
}

Semantic roles & 50–950 ramp

primary
#4C8518
secondary
#7F40B9
accent
#3CEC98
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4C8518

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

Preview Lab → · Contrast checker → · Palette generator →

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