#4C8E22#4C8E22

#4C8E22 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.1% C 0.155 H 136.1°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4C8E22
RGBrgb(76, 142, 34)
HSLhsl(97, 61%, 35%)
HSVhsv(97, 76%, 56%)
CMYKcmyk(46.5%, 0%, 76.1%, 44.3%)
CIE-LABlab(52.95, -39.95, 47.81)
CIE-LCHlch(52.95, 62.31, 129.88°)
OKLaboklab(58.1% -0.1112 0.1072)
OKLCHoklch(58.1% 0.155 136.1)
XYZxyz(12.9419, 20.9972, 4.8840)
Luminance0.2100 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8E22 #64228E
analogous
#828E22 #4C8E22 #228E2E
triadic
#4C8E22 #224C8E #8E224C
tetradic
#4C8E22 #22828E #64228E #8E2E22
square
#4C8E22 #22828E #64228E #8E2E22
split-complementary
#4C8E22 #2E228E #8E2282
monochromatic
#172B0A #325D16 #4C8E22 #66BF2E #87D654

Accessibility & contrast

On white

4.04
#4C8E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#4C8E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8E22
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8E22#FFFFFF#000000##000000
##4C8E221.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#93820C
Deuteranopia (green-blind)
#8A7C2D
Tritanopia (blue-blind)
#498979
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c8e22;
/* rgb */ color: rgb(76, 142, 34);
/* oklch */ color: oklch(58.1% 0.155 136.1);
Tailwind
colors: {
  custom: {
    50: '#84af65',
    500: '#4c8e22',
    950: '#000000',
  },
}
SCSS
$custom: #4c8e22;
$custom-light: #84af65;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8e22",
  "rgb": {
    "r": 76,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 96.667,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58103,
    "c": 0.15451,
    "h": 136.1
  },
  "luminance": 0.20998
}

Semantic roles & 50–950 ramp

primary
#4C8E22
secondary
#9152BA
accent
#43E4A6
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C8E22

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

Preview Lab → · Contrast checker → · Palette generator →

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