#4C8F25#4C8F25

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

Color values

HEX#4C8F25
RGBrgb(76, 143, 37)
HSLhsl(98, 59%, 35%)
HSVhsv(98, 74%, 56%)
CMYKcmyk(46.9%, 0%, 74.1%, 43.9%)
CIE-LABlab(53.29, -40.16, 47.04)
CIE-LCHlch(53.29, 61.85, 130.49°)
OKLaboklab(58.39% -0.1116 0.1061)
OKLCHoklch(58.39% 0.154 136.5)
XYZxyz(13.1365, 21.3142, 5.1717)
Luminance0.2132 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8F25 #68258F
analogous
#818F25 #4C8F25 #258F33
triadic
#4C8F25 #254C8F #8F254C
tetradic
#4C8F25 #25818F #68258F #8F3325
square
#4C8F25 #25818F #68258F #8F3325
split-complementary
#4C8F25 #33258F #8F2581
monochromatic
#182E0C #325E18 #4C8F25 #66C032 #87D45A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C8F25#FFFFFF#000000##000000
##4C8F251.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)
#948312
Deuteranopia (green-blind)
#8B7D2F
Tritanopia (blue-blind)
#498A7A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c8f25;
/* rgb */ color: rgb(76, 143, 37);
/* oklch */ color: oklch(58.4% 0.154 136.5);
Tailwind
colors: {
  custom: {
    50: '#84b067',
    500: '#4c8f25',
    950: '#000000',
  },
}
SCSS
$custom: #4c8f25;
$custom-light: #84b067;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8f25",
  "rgb": {
    "r": 76,
    "g": 143,
    "b": 37
  },
  "hsl": {
    "h": 97.925,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58393,
    "c": 0.15394,
    "h": 136.5
  },
  "luminance": 0.21315
}

Semantic roles & 50–950 ramp

primary
#4C8F25
secondary
#9557B9
accent
#46E2A9
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C8F25

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

Preview Lab → · Contrast checker → · Palette generator →

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