#4E7824#4E7824

#4E7824 is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.4% C 0.123 H 132.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4E7824
RGBrgb(78, 120, 36)
HSLhsl(90, 54%, 31%)
HSVhsv(90, 70%, 47%)
CMYKcmyk(35%, 0%, 70%, 52.9%)
CIE-LABlab(45.88, -29.30, 39.86)
CIE-LCHlch(45.88, 49.47, 126.32°)
OKLaboklab(52.35% -0.0823 0.0908)
OKLCHoklch(52.35% 0.123 132.2)
XYZxyz(10.1767, 15.1796, 4.0625)
Luminance0.1518 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7824 #4E2478
analogous
#787824 #4E7824 #247824
triadic
#4E7824 #244E78 #78244E
tetradic
#4E7824 #247878 #4E2478 #782424
square
#4E7824 #247878 #4E2478 #782424
split-complementary
#4E7824 #242478 #782478
monochromatic
#111A08 #2F4916 #4E7824 #6DA732 #8BCA4D

Accessibility & contrast

On white

5.20
#4E7824 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#4E7824 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7824
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7824#FFFFFF#000000##FFFFFF
##4E78241.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F18
Deuteranopia (green-blind)
#776B2B
Tritanopia (blue-blind)
#4F7367
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4e7824;
/* rgb */ color: rgb(78, 120, 36);
/* oklch */ color: oklch(52.4% 0.123 132.2);
Tailwind
colors: {
  custom: {
    50: '#839f64',
    500: '#4e7824',
    950: '#000000',
  },
}
SCSS
$custom: #4e7824;
$custom-light: #839f64;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7824",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 36
  },
  "hsl": {
    "h": 90,
    "s": 53.846,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52354,
    "c": 0.12259,
    "h": 132.2
  },
  "luminance": 0.1518
}

Semantic roles & 50–950 ramp

primary
#4E7824
secondary
#7C4DAB
accent
#4BDD94
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E7824

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

Preview Lab → · Contrast checker → · Palette generator →

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