#4C8D15#4C8D15

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

Color values

HEX#4C8D15
RGBrgb(76, 141, 21)
HSLhsl(93, 74%, 32%)
HSVhsv(93, 85%, 55%)
CMYKcmyk(46.1%, 0%, 85.1%, 44.7%)
CIE-LABlab(52.55, -40.27, 51.56)
CIE-LCHlch(52.55, 65.42, 127.99°)
OKLaboklab(57.76% -0.1129 0.1131)
OKLCHoklch(57.76% 0.16 135)
XYZxyz(12.6404, 20.6396, 4.0271)
Luminance0.2064 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8D15 #56158D
analogous
#888D15 #4C8D15 #158D1A
triadic
#4C8D15 #154C8D #8D154C
tetradic
#4C8D15 #15888D #56158D #8D1A15
square
#4C8D15 #15888D #56158D #8D1A15
split-complementary
#4C8D15 #1A158D #8D1588
monochromatic
#132205 #2F580D #4C8D15 #69C21D #87E23B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C8D15#FFFFFF#000000##000000
##4C8D151.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: #4c8d15;
/* rgb */ color: rgb(76, 141, 21);
/* oklch */ color: oklch(57.8% 0.160 135.0);
Tailwind
colors: {
  custom: {
    50: '#85af5f',
    500: '#4c8d15',
    950: '#000000',
  },
}
SCSS
$custom: #4c8d15;
$custom-light: #85af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8d15",
  "rgb": {
    "r": 76,
    "g": 141,
    "b": 21
  },
  "hsl": {
    "h": 92.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57759,
    "c": 0.1598,
    "h": 135
  },
  "luminance": 0.2064
}

Semantic roles & 50–950 ramp

primary
#4C8D15
secondary
#843DC1
accent
#37F19C
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4C8D15

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

Preview Lab → · Contrast checker → · Palette generator →

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