#4E8C25#4E8C25

#4E8C25 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.7% C 0.149 H 135.6°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4E8C25
RGBrgb(78, 140, 37)
HSLhsl(96, 58%, 35%)
HSVhsv(96, 74%, 55%)
CMYKcmyk(44.3%, 0%, 73.6%, 45.1%)
CIE-LABlab(52.41, -38.22, 46.18)
CIE-LCHlch(52.41, 59.94, 129.61°)
OKLaboklab(57.69% -0.1065 0.1042)
OKLCHoklch(57.69% 0.149 135.6)
XYZxyz(12.8536, 20.5087, 5.0312)
Luminance0.2051 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8C25 #63258C
analogous
#818C25 #4E8C25 #258C30
triadic
#4E8C25 #254E8C #8C254E
tetradic
#4E8C25 #25818C #63258C #8C3025
square
#4E8C25 #25818C #63258C #8C3025
split-complementary
#4E8C25 #30258C #8C2581
monochromatic
#182B0B #335C18 #4E8C25 #69BC32 #89D358

Accessibility & contrast

On white

4.12
#4E8C25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#4E8C25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8C25
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8C25#FFFFFF#000000##000000
##4E8C251.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918013
Deuteranopia (green-blind)
#897B2F
Tritanopia (blue-blind)
#4C8778
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e8c25;
/* rgb */ color: rgb(78, 140, 37);
/* oklch */ color: oklch(57.7% 0.149 135.6);
Tailwind
colors: {
  custom: {
    50: '#85ae66',
    500: '#4e8c25',
    950: '#000000',
  },
}
SCSS
$custom: #4e8c25;
$custom-light: #85ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8c25",
  "rgb": {
    "r": 78,
    "g": 140,
    "b": 37
  },
  "hsl": {
    "h": 96.117,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57693,
    "c": 0.14899,
    "h": 135.6
  },
  "luminance": 0.20509
}

Semantic roles & 50–950 ramp

primary
#4E8C25
secondary
#9055B8
accent
#46E1A4
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4E8C25

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

Preview Lab → · Contrast checker → · Palette generator →

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