#4C8C13#4C8C13

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

Color values

HEX#4C8C13
RGBrgb(76, 140, 19)
HSLhsl(92, 76%, 31%)
HSVhsv(92, 86%, 55%)
CMYKcmyk(45.7%, 0%, 86.4%, 45.1%)
CIE-LABlab(52.22, -39.94, 51.78)
CIE-LCHlch(52.22, 65.39, 127.64°)
OKLaboklab(57.48% -0.1121 0.1133)
OKLCHoklch(57.48% 0.159 134.7)
XYZxyz(12.4759, 20.3389, 3.8844)
Luminance0.2034 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8C13 #53138C
analogous
#888C13 #4C8C13 #138C17
triadic
#4C8C13 #134C8C #8C134C
tetradic
#4C8C13 #13888C #53138C #8C1713
square
#4C8C13 #13888C #53138C #8C1713
split-complementary
#4C8C13 #17138C #8C1388
monochromatic
#112004 #2F560C #4C8C13 #69C21A #88E436

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C8C13#FFFFFF#000000##000000
##4C8C131.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)
#897B23
Tritanopia (blue-blind)
#4B8677
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4c8c13;
/* rgb */ color: rgb(76, 140, 19);
/* oklch */ color: oklch(57.5% 0.159 134.7);
Tailwind
colors: {
  custom: {
    50: '#85ae5e',
    500: '#4c8c13',
    950: '#000000',
  },
}
SCSS
$custom: #4c8c13;
$custom-light: #85ae5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8c13",
  "rgb": {
    "r": 76,
    "g": 140,
    "b": 19
  },
  "hsl": {
    "h": 91.736,
    "s": 76.101,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57482,
    "c": 0.15937,
    "h": 134.7
  },
  "luminance": 0.2034
}

Semantic roles & 50–950 ramp

primary
#4C8C13
secondary
#813BC0
accent
#35F399
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4C8C13

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

Preview Lab → · Contrast checker → · Palette generator →

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