#4C8E16#4C8E16

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

Color values

HEX#4C8E16
RGBrgb(76, 142, 22)
HSLhsl(93, 73%, 32%)
HSVhsv(93, 85%, 56%)
CMYKcmyk(46.5%, 0%, 84.5%, 44.3%)
CIE-LABlab(52.88, -40.64, 51.59)
CIE-LCHlch(52.88, 65.67, 128.23°)
OKLaboklab(58.03% -0.1138 0.1133)
OKLCHoklch(58.03% 0.161 135.1)
XYZxyz(12.7980, 20.9396, 4.1263)
Luminance0.2094 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8E16 #58168E
analogous
#888E16 #4C8E16 #168E1C
triadic
#4C8E16 #164C8E #8E164C
tetradic
#4C8E16 #16888E #58168E #8E1C16
square
#4C8E16 #16888E #58168E #8E1C16
split-complementary
#4C8E16 #1C168E #8E1688
monochromatic
#132406 #30590E #4C8E16 #68C31E #87E13D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C8E16#FFFFFF#000000##000000
##4C8E161.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)
#948200
Deuteranopia (green-blind)
#8B7C25
Tritanopia (blue-blind)
#4A8879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c8e16;
/* rgb */ color: rgb(76, 142, 22);
/* oklch */ color: oklch(58.0% 0.161 135.1);
Tailwind
colors: {
  custom: {
    50: '#85af60',
    500: '#4c8e16',
    950: '#000000',
  },
}
SCSS
$custom: #4c8e16;
$custom-light: #85af60;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8e16",
  "rgb": {
    "r": 76,
    "g": 142,
    "b": 22
  },
  "hsl": {
    "h": 93,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58032,
    "c": 0.16061,
    "h": 135.1
  },
  "luminance": 0.2094
}

Semantic roles & 50–950 ramp

primary
#4C8E16
secondary
#863FC1
accent
#38F09D
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4C8E16

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

Preview Lab → · Contrast checker → · Palette generator →

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