#4E8A25#4E8A25

#4E8A25 is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.2% C 0.146 H 135.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4E8A25
RGBrgb(78, 138, 37)
HSLhsl(96, 58%, 34%)
HSVhsv(96, 73%, 54%)
CMYKcmyk(43.5%, 0%, 73.2%, 45.9%)
CIE-LABlab(51.76, -37.36, 45.52)
CIE-LCHlch(51.76, 58.88, 129.38°)
OKLaboklab(57.16% -0.1041 0.1028)
OKLCHoklch(57.16% 0.146 135.4)
XYZxyz(12.5640, 19.9295, 4.9347)
Luminance0.1993 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8A25 #61258A
analogous
#818A25 #4E8A25 #258A2F
triadic
#4E8A25 #254E8A #8A254E
tetradic
#4E8A25 #25818A #61258A #8A2F25
square
#4E8A25 #25818A #61258A #8A2F25
split-complementary
#4E8A25 #2F258A #8A2581
monochromatic
#17290B #335A18 #4E8A25 #69BA32 #89D257

Accessibility & contrast

On white

4.21
#4E8A25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#4E8A25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8A25
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8A25#FFFFFF#000000##000000
##4E8A251.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E14
Deuteranopia (green-blind)
#877A2F
Tritanopia (blue-blind)
#4C8576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e8a25;
/* rgb */ color: rgb(78, 138, 37);
/* oklch */ color: oklch(57.2% 0.146 135.4);
Tailwind
colors: {
  custom: {
    50: '#85ac66',
    500: '#4e8a25',
    950: '#000000',
  },
}
SCSS
$custom: #4e8a25;
$custom-light: #85ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8a25",
  "rgb": {
    "r": 78,
    "g": 138,
    "b": 37
  },
  "hsl": {
    "h": 95.644,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5716,
    "c": 0.14637,
    "h": 135.4
  },
  "luminance": 0.1993
}

Semantic roles & 50–950 ramp

primary
#4E8A25
secondary
#8F54B7
accent
#47E1A2
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4E8A25

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

Preview Lab → · Contrast checker → · Palette generator →

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