#4C8B22#4C8B22

#4C8B22 is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.3% C 0.151 H 135.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4C8B22
RGBrgb(76, 139, 34)
HSLhsl(96, 61%, 34%)
HSVhsv(96, 76%, 55%)
CMYKcmyk(45.3%, 0%, 75.5%, 45.5%)
CIE-LABlab(51.97, -38.69, 46.84)
CIE-LCHlch(51.97, 60.76, 129.55°)
OKLaboklab(57.3% -0.1078 0.1052)
OKLCHoklch(57.3% 0.151 135.7)
XYZxyz(12.5015, 20.1165, 4.7372)
Luminance0.2012 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8B22 #61228B
analogous
#818B22 #4C8B22 #228B2D
triadic
#4C8B22 #224C8B #8B224C
tetradic
#4C8B22 #22818B #61228B #8B2D22
square
#4C8B22 #22818B #61228B #8B2D22
split-complementary
#4C8B22 #2D228B #8B2281
monochromatic
#16290A #315A16 #4C8B22 #67BC2E #87D553

Accessibility & contrast

On white

4.18
#4C8B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#4C8B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8B22
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8B22#FFFFFF#000000##000000
##4C8B221.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0D
Deuteranopia (green-blind)
#887A2D
Tritanopia (blue-blind)
#4A8677
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4c8b22;
/* rgb */ color: rgb(76, 139, 34);
/* oklch */ color: oklch(57.3% 0.151 135.7);
Tailwind
colors: {
  custom: {
    50: '#84ad65',
    500: '#4c8b22',
    950: '#000000',
  },
}
SCSS
$custom: #4c8b22;
$custom-light: #84ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8b22",
  "rgb": {
    "r": 76,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 96,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57301,
    "c": 0.15065,
    "h": 135.7
  },
  "luminance": 0.20117
}

Semantic roles & 50–950 ramp

primary
#4C8B22
secondary
#8F50B8
accent
#44E4A4
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C8B22

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

Preview Lab → · Contrast checker → · Palette generator →

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