#4E8B24#4E8B24

#4E8B24 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.4% C 0.148 H 135.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4E8B24
RGBrgb(78, 139, 36)
HSLhsl(96, 59%, 34%)
HSVhsv(96, 74%, 55%)
CMYKcmyk(43.9%, 0%, 74.1%, 45.5%)
CIE-LABlab(52.08, -37.86, 46.23)
CIE-LCHlch(52.08, 59.75, 129.32°)
OKLaboklab(57.42% -0.1056 0.1042)
OKLCHoklch(57.42% 0.148 135.4)
XYZxyz(12.6926, 20.2116, 4.9012)
Luminance0.2021 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8B24 #61248B
analogous
#828B24 #4E8B24 #248B2E
triadic
#4E8B24 #244E8B #8B244E
tetradic
#4E8B24 #24828B #61248B #8B2E24
square
#4E8B24 #24828B #61248B #8B2E24
split-complementary
#4E8B24 #2E248B #8B2482
monochromatic
#172A0B #335A17 #4E8B24 #69BC31 #89D356

Accessibility & contrast

On white

4.16
#4E8B24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4E8B24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8B24
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8B24#FFFFFF#000000##000000
##4E8B241.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F12
Deuteranopia (green-blind)
#887A2E
Tritanopia (blue-blind)
#4C8677
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e8b24;
/* rgb */ color: rgb(78, 139, 36);
/* oklch */ color: oklch(57.4% 0.148 135.4);
Tailwind
colors: {
  custom: {
    50: '#85ad66',
    500: '#4e8b24',
    950: '#000000',
  },
}
SCSS
$custom: #4e8b24;
$custom-light: #85ad66;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8b24",
  "rgb": {
    "r": 78,
    "g": 139,
    "b": 36
  },
  "hsl": {
    "h": 95.534,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57419,
    "c": 0.14833,
    "h": 135.4
  },
  "luminance": 0.20212
}

Semantic roles & 50–950 ramp

primary
#4E8B24
secondary
#8F53B7
accent
#46E2A2
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4E8B24

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

Preview Lab → · Contrast checker → · Palette generator →

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