#4C8B25#4C8B25

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

Color values

HEX#4C8B25
RGBrgb(76, 139, 37)
HSLhsl(97, 58%, 35%)
HSVhsv(97, 73%, 55%)
CMYKcmyk(45.3%, 0%, 73.4%, 45.5%)
CIE-LABlab(51.99, -38.47, 45.72)
CIE-LCHlch(51.99, 59.75, 130.08°)
OKLaboklab(57.32% -0.107 0.1033)
OKLCHoklch(57.32% 0.149 136)
XYZxyz(12.5467, 20.1346, 4.9751)
Luminance0.2014 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8B25 #64258B
analogous
#7F8B25 #4C8B25 #258B31
triadic
#4C8B25 #254C8B #8B254C
tetradic
#4C8B25 #257F8B #64258B #8B3125
square
#4C8B25 #257F8B #64258B #8B3125
split-complementary
#4C8B25 #31258B #8B257F
monochromatic
#172A0B #325B18 #4C8B25 #66BB32 #87D358

Accessibility & contrast

On white

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

On black

5.03
#4C8B25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8B25
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8B25#FFFFFF#000000##000000
##4C8B251.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c8b25;
/* rgb */ color: rgb(76, 139, 37);
/* oklch */ color: oklch(57.3% 0.149 136.0);
Tailwind
colors: {
  custom: {
    50: '#84ad66',
    500: '#4c8b25',
    950: '#000000',
  },
}
SCSS
$custom: #4c8b25;
$custom-light: #84ad66;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8b25",
  "rgb": {
    "r": 76,
    "g": 139,
    "b": 37
  },
  "hsl": {
    "h": 97.059,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57324,
    "c": 0.14874,
    "h": 136
  },
  "luminance": 0.20135
}

Semantic roles & 50–950 ramp

primary
#4C8B25
secondary
#9155B7
accent
#47E1A6
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C8B25

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

Preview Lab → · Contrast checker → · Palette generator →

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