#4C8C19#4C8C19

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

Color values

HEX#4C8C19
RGBrgb(76, 140, 25)
HSLhsl(93, 70%, 32%)
HSVhsv(93, 82%, 55%)
CMYKcmyk(45.7%, 0%, 82.1%, 45.1%)
CIE-LABlab(52.24, -39.66, 50.14)
CIE-LCHlch(52.24, 63.93, 128.34°)
OKLaboklab(57.51% -0.111 0.1107)
OKLCHoklch(57.51% 0.157 135.1)
XYZxyz(12.5338, 20.3621, 4.1894)
Luminance0.2036 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8C19 #59198C
analogous
#868C19 #4C8C19 #198C1F
triadic
#4C8C19 #194C8C #8C194C
tetradic
#4C8C19 #19868C #59198C #8C1F19
square
#4C8C19 #19868C #59198C #8C1F19
split-complementary
#4C8C19 #1F198C #8C1986
monochromatic
#142406 #305810 #4C8C19 #68C022 #87DD42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C8C19#FFFFFF#000000##000000
##4C8C191.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)
#918000
Deuteranopia (green-blind)
#897B26
Tritanopia (blue-blind)
#4A8677
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4c8c19;
/* rgb */ color: rgb(76, 140, 25);
/* oklch */ color: oklch(57.5% 0.157 135.1);
Tailwind
colors: {
  custom: {
    50: '#84ae61',
    500: '#4c8c19',
    950: '#000000',
  },
}
SCSS
$custom: #4c8c19;
$custom-light: #84ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8c19",
  "rgb": {
    "r": 76,
    "g": 140,
    "b": 25
  },
  "hsl": {
    "h": 93.391,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57511,
    "c": 0.15681,
    "h": 135.1
  },
  "luminance": 0.20363
}

Semantic roles & 50–950 ramp

primary
#4C8C19
secondary
#8743BE
accent
#3BED9E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4C8C19

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

Preview Lab → · Contrast checker → · Palette generator →

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