#4C8D25#4C8D25

#4C8D25 is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 57.9% C 0.151 H 136.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4C8D25
RGBrgb(76, 141, 37)
HSLhsl(98, 58%, 35%)
HSVhsv(98, 74%, 55%)
CMYKcmyk(46.1%, 0%, 73.8%, 44.7%)
CIE-LABlab(52.64, -39.32, 46.38)
CIE-LCHlch(52.64, 60.80, 130.29°)
OKLaboklab(57.86% -0.1093 0.1047)
OKLCHoklch(57.86% 0.151 136.2)
XYZxyz(12.8390, 20.7190, 5.0726)
Luminance0.2072 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8D25 #66258D
analogous
#808D25 #4C8D25 #258D32
triadic
#4C8D25 #254C8D #8D254C
tetradic
#4C8D25 #25808D #66258D #8D3225
square
#4C8D25 #25808D #66258D #8D3225
split-complementary
#4C8D25 #32258D #8D2580
monochromatic
#182C0C #325D18 #4C8D25 #66BD32 #87D359

Accessibility & contrast

On white

4.08
#4C8D25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#4C8D25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8D25
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8D25#FFFFFF#000000##000000
##4C8D251.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928113
Deuteranopia (green-blind)
#897C2F
Tritanopia (blue-blind)
#498879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c8d25;
/* rgb */ color: rgb(76, 141, 37);
/* oklch */ color: oklch(57.9% 0.151 136.2);
Tailwind
colors: {
  custom: {
    50: '#84af67',
    500: '#4c8d25',
    950: '#000000',
  },
}
SCSS
$custom: #4c8d25;
$custom-light: #84af67;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8d25",
  "rgb": {
    "r": 76,
    "g": 141,
    "b": 37
  },
  "hsl": {
    "h": 97.5,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57859,
    "c": 0.15136,
    "h": 136.2
  },
  "luminance": 0.2072
}

Semantic roles & 50–950 ramp

primary
#4C8D25
secondary
#9356B8
accent
#46E2A7
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C8D25

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

Preview Lab → · Contrast checker → · Palette generator →

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