#4E8E25#4E8E25

#4E8E25 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.2% C 0.152 H 135.9°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4E8E25
RGBrgb(78, 142, 37)
HSLhsl(97, 59%, 35%)
HSVhsv(97, 74%, 56%)
CMYKcmyk(45.1%, 0%, 73.9%, 44.3%)
CIE-LABlab(53.06, -39.07, 46.83)
CIE-LCHlch(53.06, 60.99, 129.84°)
OKLaboklab(58.23% -0.1088 0.1056)
OKLCHoklch(58.23% 0.152 135.9)
XYZxyz(13.1485, 21.0985, 5.1295)
Luminance0.2110 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8E25 #65258E
analogous
#838E25 #4E8E25 #258E30
triadic
#4E8E25 #254E8E #8E254E
tetradic
#4E8E25 #25838E #65258E #8E3025
square
#4E8E25 #25838E #65258E #8E3025
split-complementary
#4E8E25 #30258E #8E2583
monochromatic
#192D0C #335D18 #4E8E25 #69BF32 #89D45A

Accessibility & contrast

On white

4.02
#4E8E25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#4E8E25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8E25
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8E25#FFFFFF#000000##000000
##4E8E251.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938212
Deuteranopia (green-blind)
#8B7D2F
Tritanopia (blue-blind)
#4C897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e8e25;
/* rgb */ color: rgb(78, 142, 37);
/* oklch */ color: oklch(58.2% 0.152 135.9);
Tailwind
colors: {
  custom: {
    50: '#85af67',
    500: '#4e8e25',
    950: '#000000',
  },
}
SCSS
$custom: #4e8e25;
$custom-light: #85af67;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8e25",
  "rgb": {
    "r": 78,
    "g": 142,
    "b": 37
  },
  "hsl": {
    "h": 96.571,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58226,
    "c": 0.1516,
    "h": 135.9
  },
  "luminance": 0.21099
}

Semantic roles & 50–950 ramp

primary
#4E8E25
secondary
#9256B9
accent
#46E2A5
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4E8E25

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

Preview Lab → · Contrast checker → · Palette generator →

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