#4C8C15#4C8C15

#4C8C15 is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.5% C 0.159 H 134.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#4C8C15
RGBrgb(76, 140, 21)
HSLhsl(92, 74%, 32%)
HSVhsv(92, 85%, 55%)
CMYKcmyk(45.7%, 0%, 85%, 45.1%)
CIE-LABlab(52.23, -39.85, 51.27)
CIE-LCHlch(52.23, 64.93, 127.86°)
OKLaboklab(57.49% -0.1118 0.1125)
OKLCHoklch(57.49% 0.159 134.8)
XYZxyz(12.4937, 20.3461, 3.9782)
Luminance0.2035 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8C15 #55158C
analogous
#888C15 #4C8C15 #158C1A
triadic
#4C8C15 #154C8C #8C154C
tetradic
#4C8C15 #15888C #55158C #8C1A15
square
#4C8C15 #15888C #55158C #8C1A15
split-complementary
#4C8C15 #1A158C #8C1588
monochromatic
#122205 #2F570D #4C8C15 #69C11D #87E13A

Accessibility & contrast

On white

4.14
#4C8C15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#4C8C15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8C15
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8C15#FFFFFF#000000##000000
##4C8C151.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#897B24
Tritanopia (blue-blind)
#4A8677
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4c8c15;
/* rgb */ color: rgb(76, 140, 21);
/* oklch */ color: oklch(57.5% 0.159 134.8);
Tailwind
colors: {
  custom: {
    50: '#85ae5f',
    500: '#4c8c15',
    950: '#000000',
  },
}
SCSS
$custom: #4c8c15;
$custom-light: #85ae5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8c15",
  "rgb": {
    "r": 76,
    "g": 140,
    "b": 21
  },
  "hsl": {
    "h": 92.269,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57491,
    "c": 0.15858,
    "h": 134.8
  },
  "luminance": 0.20347
}

Semantic roles & 50–950 ramp

primary
#4C8C15
secondary
#833DC0
accent
#37F19B
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4C8C15

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

Preview Lab → · Contrast checker → · Palette generator →

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