#4C8A25#4C8A25

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

Color values

HEX#4C8A25
RGBrgb(76, 138, 37)
HSLhsl(97, 58%, 34%)
HSVhsv(97, 73%, 54%)
CMYKcmyk(44.9%, 0%, 73.2%, 45.9%)
CIE-LABlab(51.66, -38.04, 45.39)
CIE-LCHlch(51.66, 59.23, 129.97°)
OKLaboklab(57.06% -0.1059 0.1026)
OKLCHoklch(57.06% 0.147 135.9)
XYZxyz(12.4026, 19.8463, 4.9271)
Luminance0.1985 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8A25 #63258A
analogous
#7F8A25 #4C8A25 #258A31
triadic
#4C8A25 #254C8A #8A254C
tetradic
#4C8A25 #257F8A #63258A #8A3125
square
#4C8A25 #257F8A #63258A #8A3125
split-complementary
#4C8A25 #31258A #8A257F
monochromatic
#17290B #315A18 #4C8A25 #67BA32 #87D257

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C8A25#FFFFFF#000000##000000
##4C8A251.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)
#8F7E14
Deuteranopia (green-blind)
#87792F
Tritanopia (blue-blind)
#4A8576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4c8a25;
/* rgb */ color: rgb(76, 138, 37);
/* oklch */ color: oklch(57.1% 0.147 135.9);
Tailwind
colors: {
  custom: {
    50: '#84ad66',
    500: '#4c8a25',
    950: '#000000',
  },
}
SCSS
$custom: #4c8a25;
$custom-light: #84ad66;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8a25",
  "rgb": {
    "r": 76,
    "g": 138,
    "b": 37
  },
  "hsl": {
    "h": 96.832,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57057,
    "c": 0.14744,
    "h": 135.9
  },
  "luminance": 0.19847
}

Semantic roles & 50–950 ramp

primary
#4C8A25
secondary
#9154B7
accent
#47E1A5
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C8A25

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

Preview Lab → · Contrast checker → · Palette generator →

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