#4C8D14#4C8D14

#4C8D14 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 57.8% C 0.160 H 134.9°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4C8D14
RGBrgb(76, 141, 20)
HSLhsl(92, 75%, 32%)
HSVhsv(92, 86%, 55%)
CMYKcmyk(46.1%, 0%, 85.8%, 44.7%)
CIE-LABlab(52.55, -40.31, 51.82)
CIE-LCHlch(52.55, 65.65, 127.88°)
OKLaboklab(57.75% -0.1131 0.1135)
OKLCHoklch(57.75% 0.16 134.9)
XYZxyz(12.6314, 20.6360, 3.9793)
Luminance0.2064 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8D14 #55148D
analogous
#898D14 #4C8D14 #148D18
triadic
#4C8D14 #144C8D #8D144C
tetradic
#4C8D14 #14898D #55148D #8D1814
square
#4C8D14 #14898D #55148D #8D1814
split-complementary
#4C8D14 #18148D #8D1489
monochromatic
#122205 #2F570C #4C8D14 #69C31C #87E339

Accessibility & contrast

On white

4.10
#4C8D14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#4C8D14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8D14
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8D14#FFFFFF#000000##000000
##4C8D141.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8A7B24
Tritanopia (blue-blind)
#4A8778
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4c8d14;
/* rgb */ color: rgb(76, 141, 20);
/* oklch */ color: oklch(57.8% 0.160 134.9);
Tailwind
colors: {
  custom: {
    50: '#85af5f',
    500: '#4c8d14',
    950: '#000000',
  },
}
SCSS
$custom: #4c8d14;
$custom-light: #85af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8d14",
  "rgb": {
    "r": 76,
    "g": 141,
    "b": 20
  },
  "hsl": {
    "h": 92.231,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57754,
    "c": 0.1602,
    "h": 134.9
  },
  "luminance": 0.20637
}

Semantic roles & 50–950 ramp

primary
#4C8D14
secondary
#833CC1
accent
#36F29B
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4C8D14

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

Preview Lab → · Contrast checker → · Palette generator →

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