#4C8F22#4C8F22

#4C8F22 is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.4% C 0.156 H 136.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4C8F22
RGBrgb(76, 143, 34)
HSLhsl(97, 62%, 35%)
HSVhsv(97, 76%, 56%)
CMYKcmyk(46.9%, 0%, 76.2%, 43.9%)
CIE-LABlab(53.27, -40.37, 48.13)
CIE-LCHlch(53.27, 62.82, 129.99°)
OKLaboklab(58.37% -0.1124 0.1079)
OKLCHoklch(58.37% 0.156 136.2)
XYZxyz(13.0913, 21.2961, 4.9338)
Luminance0.2130 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8F22 #65228F
analogous
#838F22 #4C8F22 #228F2F
triadic
#4C8F22 #224C8F #8F224C
tetradic
#4C8F22 #22838F #65228F #8F2F22
square
#4C8F22 #22838F #65228F #8F2F22
split-complementary
#4C8F22 #2F228F #8F2283
monochromatic
#172C0A #325E16 #4C8F22 #66C02E #87D755

Accessibility & contrast

On white

3.99
#4C8F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#4C8F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8F22
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8F22#FFFFFF#000000##000000
##4C8F221.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#94830B
Deuteranopia (green-blind)
#8B7D2D
Tritanopia (blue-blind)
#498A7A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c8f22;
/* rgb */ color: rgb(76, 143, 34);
/* oklch */ color: oklch(58.4% 0.156 136.2);
Tailwind
colors: {
  custom: {
    50: '#84b065',
    500: '#4c8f22',
    950: '#000000',
  },
}
SCSS
$custom: #4c8f22;
$custom-light: #84b065;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8f22",
  "rgb": {
    "r": 76,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 96.881,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58371,
    "c": 0.15579,
    "h": 136.2
  },
  "luminance": 0.21297
}

Semantic roles & 50–950 ramp

primary
#4C8F22
secondary
#9252BA
accent
#43E5A6
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C8F22

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

Preview Lab → · Contrast checker → · Palette generator →

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