#4C8E25#4C8E25

#4C8E25 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.1% C 0.153 H 136.4°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4C8E25
RGBrgb(76, 142, 37)
HSLhsl(98, 59%, 35%)
HSVhsv(98, 74%, 56%)
CMYKcmyk(46.5%, 0%, 73.9%, 44.3%)
CIE-LABlab(52.97, -39.74, 46.71)
CIE-LCHlch(52.97, 61.33, 130.39°)
OKLaboklab(58.13% -0.1105 0.1054)
OKLCHoklch(58.13% 0.153 136.4)
XYZxyz(12.9871, 21.0153, 5.1219)
Luminance0.2102 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8E25 #67258E
analogous
#818E25 #4C8E25 #258E32
triadic
#4C8E25 #254C8E #8E254C
tetradic
#4C8E25 #25818E #67258E #8E3225
square
#4C8E25 #25818E #67258E #8E3225
split-complementary
#4C8E25 #32258E #8E2581
monochromatic
#182D0C #325D18 #4C8E25 #66BF32 #87D45A

Accessibility & contrast

On white

4.04
#4C8E25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#4C8E25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8E25
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8E25#FFFFFF#000000##000000
##4C8E251.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938212
Deuteranopia (green-blind)
#8A7C2F
Tritanopia (blue-blind)
#49897A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c8e25;
/* rgb */ color: rgb(76, 142, 37);
/* oklch */ color: oklch(58.1% 0.153 136.4);
Tailwind
colors: {
  custom: {
    50: '#84af67',
    500: '#4c8e25',
    950: '#000000',
  },
}
SCSS
$custom: #4c8e25;
$custom-light: #84af67;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8e25",
  "rgb": {
    "r": 76,
    "g": 142,
    "b": 37
  },
  "hsl": {
    "h": 97.714,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58126,
    "c": 0.15265,
    "h": 136.4
  },
  "luminance": 0.21016
}

Semantic roles & 50–950 ramp

primary
#4C8E25
secondary
#9456B9
accent
#46E2A8
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C8E25

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

Preview Lab → · Contrast checker → · Palette generator →

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