#4C8A22#4C8A22

#4C8A22 is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.0% C 0.149 H 135.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4C8A22
RGBrgb(76, 138, 34)
HSLhsl(96, 60%, 34%)
HSVhsv(96, 75%, 54%)
CMYKcmyk(44.9%, 0%, 75.4%, 45.9%)
CIE-LABlab(51.64, -38.26, 46.52)
CIE-LCHlch(51.64, 60.24, 129.44°)
OKLaboklab(57.03% -0.1067 0.1045)
OKLCHoklch(57.03% 0.149 135.6)
XYZxyz(12.3574, 19.8282, 4.6892)
Luminance0.1983 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8A22 #60228A
analogous
#808A22 #4C8A22 #228A2C
triadic
#4C8A22 #224C8A #8A224C
tetradic
#4C8A22 #22808A #60228A #8A2C22
square
#4C8A22 #22808A #60228A #8A2C22
split-complementary
#4C8A22 #2C228A #8A2280
monochromatic
#16280A #315916 #4C8A22 #67BB2E #87D452

Accessibility & contrast

On white

4.23
#4C8A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#4C8A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8A22
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8A22#FFFFFF#000000##000000
##4C8A221.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0E
Deuteranopia (green-blind)
#87792C
Tritanopia (blue-blind)
#4A8576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4c8a22;
/* rgb */ color: rgb(76, 138, 34);
/* oklch */ color: oklch(57.0% 0.149 135.6);
Tailwind
colors: {
  custom: {
    50: '#84ad65',
    500: '#4c8a22',
    950: '#000000',
  },
}
SCSS
$custom: #4c8a22;
$custom-light: #84ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8a22",
  "rgb": {
    "r": 76,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 95.769,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57034,
    "c": 0.14936,
    "h": 135.6
  },
  "luminance": 0.19829
}

Semantic roles & 50–950 ramp

primary
#4C8A22
secondary
#8E50B8
accent
#44E4A3
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C8A22

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

Preview Lab → · Contrast checker → · Palette generator →

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