#4C8D19#4C8D19

#4C8D19 is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 57.8% C 0.158 H 135.2°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4C8D19
RGBrgb(76, 141, 25)
HSLhsl(94, 70%, 33%)
HSVhsv(94, 82%, 55%)
CMYKcmyk(46.1%, 0%, 82.3%, 44.7%)
CIE-LABlab(52.57, -40.08, 50.44)
CIE-LCHlch(52.57, 64.43, 128.47°)
OKLaboklab(57.78% -0.1122 0.1114)
OKLCHoklch(57.78% 0.158 135.2)
XYZxyz(12.6805, 20.6557, 4.2383)
Luminance0.2066 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8D19 #5A198D
analogous
#868D19 #4C8D19 #198D20
triadic
#4C8D19 #194C8D #8D194C
tetradic
#4C8D19 #19868D #5A198D #8D2019
square
#4C8D19 #19868D #5A198D #8D2019
split-complementary
#4C8D19 #20198D #8D1986
monochromatic
#142507 #305910 #4C8D19 #68C122 #87DE43

Accessibility & contrast

On white

4.09
#4C8D19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#4C8D19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8D19
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8D19#FFFFFF#000000##000000
##4C8D191.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#8A7C27
Tritanopia (blue-blind)
#4A8778
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4c8d19;
/* rgb */ color: rgb(76, 141, 25);
/* oklch */ color: oklch(57.8% 0.158 135.2);
Tailwind
colors: {
  custom: {
    50: '#85af61',
    500: '#4c8d19',
    950: '#000000',
  },
}
SCSS
$custom: #4c8d19;
$custom-light: #85af61;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8d19",
  "rgb": {
    "r": 76,
    "g": 141,
    "b": 25
  },
  "hsl": {
    "h": 93.621,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57779,
    "c": 0.15805,
    "h": 135.2
  },
  "luminance": 0.20656
}

Semantic roles & 50–950 ramp

primary
#4C8D19
secondary
#8843BF
accent
#3BED9F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4C8D19

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

Preview Lab → · Contrast checker → · Palette generator →

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