#4C8E19#4C8E19

#4C8E19 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.0% C 0.159 H 135.3°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4C8E19
RGBrgb(76, 142, 25)
HSLhsl(94, 70%, 33%)
HSVhsv(94, 82%, 56%)
CMYKcmyk(46.5%, 0%, 82.4%, 44.3%)
CIE-LABlab(52.90, -40.49, 50.74)
CIE-LCHlch(52.90, 64.92, 128.59°)
OKLaboklab(58.05% -0.1133 0.112)
OKLCHoklch(58.05% 0.159 135.3)
XYZxyz(12.8287, 20.9519, 4.2877)
Luminance0.2095 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8E19 #5B198E
analogous
#868E19 #4C8E19 #198E20
triadic
#4C8E19 #194C8E #8E194C
tetradic
#4C8E19 #19868E #5B198E #8E2019
square
#4C8E19 #19868E #5B198E #8E2019
split-complementary
#4C8E19 #20198E #8E1986
monochromatic
#142607 #305A10 #4C8E19 #68C222 #87DE43

Accessibility & contrast

On white

4.05
#4C8E19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#4C8E19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8E19
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8E19#FFFFFF#000000##000000
##4C8E191.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#8B7C27
Tritanopia (blue-blind)
#4A8879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c8e19;
/* rgb */ color: rgb(76, 142, 25);
/* oklch */ color: oklch(58.0% 0.159 135.3);
Tailwind
colors: {
  custom: {
    50: '#85af61',
    500: '#4c8e19',
    950: '#000000',
  },
}
SCSS
$custom: #4c8e19;
$custom-light: #85af61;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8e19",
  "rgb": {
    "r": 76,
    "g": 142,
    "b": 25
  },
  "hsl": {
    "h": 93.846,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58047,
    "c": 0.15929,
    "h": 135.3
  },
  "luminance": 0.20953
}

Semantic roles & 50–950 ramp

primary
#4C8E19
secondary
#8944BF
accent
#3BED9F
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4C8E19

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

Preview Lab → · Contrast checker → · Palette generator →

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