#4E8C24#4E8C24

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

Color values

HEX#4E8C24
RGBrgb(78, 140, 36)
HSLhsl(96, 59%, 35%)
HSVhsv(96, 74%, 55%)
CMYKcmyk(44.3%, 0%, 74.3%, 45.1%)
CIE-LABlab(52.40, -38.29, 46.55)
CIE-LCHlch(52.40, 60.28, 129.44°)
OKLaboklab(57.68% -0.1067 0.1049)
OKLCHoklch(57.68% 0.15 135.5)
XYZxyz(12.8381, 20.5025, 4.9496)
Luminance0.2050 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8C24 #62248C
analogous
#828C24 #4E8C24 #248C2E
triadic
#4E8C24 #244E8C #8C244E
tetradic
#4E8C24 #24828C #62248C #8C2E24
square
#4E8C24 #24828C #62248C #8C2E24
split-complementary
#4E8C24 #2E248C #8C2482
monochromatic
#182B0B #335B17 #4E8C24 #69BD31 #89D457

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E8C24#FFFFFF#000000##000000
##4E8C241.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)
#918011
Deuteranopia (green-blind)
#897B2E
Tritanopia (blue-blind)
#4C8778
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e8c24;
/* rgb */ color: rgb(78, 140, 36);
/* oklch */ color: oklch(57.7% 0.150 135.5);
Tailwind
colors: {
  custom: {
    50: '#85ae66',
    500: '#4e8c24',
    950: '#000000',
  },
}
SCSS
$custom: #4e8c24;
$custom-light: #85ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8c24",
  "rgb": {
    "r": 78,
    "g": 140,
    "b": 36
  },
  "hsl": {
    "h": 95.769,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57685,
    "c": 0.14964,
    "h": 135.5
  },
  "luminance": 0.20503
}

Semantic roles & 50–950 ramp

primary
#4E8C24
secondary
#9054B8
accent
#46E2A3
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4E8C24

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

Preview Lab → · Contrast checker → · Palette generator →

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