#4C8A19#4C8A19

#4C8A19 is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.0% C 0.154 H 134.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4C8A19
RGBrgb(76, 138, 25)
HSLhsl(93, 69%, 32%)
HSVhsv(93, 82%, 54%)
CMYKcmyk(44.9%, 0%, 81.9%, 45.9%)
CIE-LABlab(51.59, -38.82, 49.54)
CIE-LCHlch(51.59, 62.94, 128.08°)
OKLaboklab(56.97% -0.1088 0.1095)
OKLCHoklch(56.97% 0.154 134.8)
XYZxyz(12.2442, 19.7829, 4.0928)
Luminance0.1978 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8A19 #57198A
analogous
#858A19 #4C8A19 #198A1E
triadic
#4C8A19 #194C8A #8A194C
tetradic
#4C8A19 #19858A #57198A #8A1E19
square
#4C8A19 #19858A #57198A #8A1E19
split-complementary
#4C8A19 #1E198A #8A1985
monochromatic
#132206 #2F5610 #4C8A19 #69BE22 #87DD41

Accessibility & contrast

On white

4.24
#4C8A19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#4C8A19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8A19
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8A19#FFFFFF#000000##000000
##4C8A191.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#877926
Tritanopia (blue-blind)
#4B8475
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4c8a19;
/* rgb */ color: rgb(76, 138, 25);
/* oklch */ color: oklch(57.0% 0.154 134.8);
Tailwind
colors: {
  custom: {
    50: '#84ac60',
    500: '#4c8a19',
    950: '#000000',
  },
}
SCSS
$custom: #4c8a19;
$custom-light: #84ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8a19",
  "rgb": {
    "r": 76,
    "g": 138,
    "b": 25
  },
  "hsl": {
    "h": 92.92,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56975,
    "c": 0.15432,
    "h": 134.8
  },
  "luminance": 0.19784
}

Semantic roles & 50–950 ramp

primary
#4C8A19
secondary
#8542BD
accent
#3CEC9C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4C8A19

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

Preview Lab → · Contrast checker → · Palette generator →

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