#4E8D25#4E8D25

#4E8D25 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.0% C 0.150 H 135.7°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4E8D25
RGBrgb(78, 141, 37)
HSLhsl(96, 58%, 35%)
HSVhsv(96, 74%, 55%)
CMYKcmyk(44.7%, 0%, 73.8%, 44.7%)
CIE-LABlab(52.73, -38.64, 46.50)
CIE-LCHlch(52.73, 60.46, 129.72°)
OKLaboklab(57.96% -0.1076 0.1049)
OKLCHoklch(57.96% 0.15 135.7)
XYZxyz(13.0004, 20.8023, 5.0801)
Luminance0.2080 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8D25 #64258D
analogous
#828D25 #4E8D25 #258D30
triadic
#4E8D25 #254E8D #8D254E
tetradic
#4E8D25 #25828D #64258D #8D3025
square
#4E8D25 #25828D #64258D #8D3025
split-complementary
#4E8D25 #30258D #8D2582
monochromatic
#182C0C #335D18 #4E8D25 #69BD32 #89D359

Accessibility & contrast

On white

4.07
#4E8D25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#4E8D25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8D25
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8D25#FFFFFF#000000##000000
##4E8D251.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928113
Deuteranopia (green-blind)
#8A7C2F
Tritanopia (blue-blind)
#4C8879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e8d25;
/* rgb */ color: rgb(78, 141, 37);
/* oklch */ color: oklch(58.0% 0.150 135.7);
Tailwind
colors: {
  custom: {
    50: '#85af67',
    500: '#4e8d25',
    950: '#000000',
  },
}
SCSS
$custom: #4e8d25;
$custom-light: #85af67;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8d25",
  "rgb": {
    "r": 78,
    "g": 141,
    "b": 37
  },
  "hsl": {
    "h": 96.346,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57959,
    "c": 0.1503,
    "h": 135.7
  },
  "luminance": 0.20803
}

Semantic roles & 50–950 ramp

primary
#4E8D25
secondary
#9156B8
accent
#46E2A4
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4E8D25

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

Preview Lab → · Contrast checker → · Palette generator →

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