#4E7418#4E7418

#4E7418 is a mid, vivid yellow-green. Relative luminance 0.142; OKLCH L 51.2% C 0.125 H 130.0°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#4E7418
RGBrgb(78, 116, 24)
HSLhsl(85, 66%, 27%)
HSVhsv(85, 79%, 45%)
CMYKcmyk(32.8%, 0%, 79.3%, 54.5%)
CIE-LABlab(44.48, -28.24, 43.23)
CIE-LCHlch(44.48, 51.64, 123.16°)
OKLaboklab(51.19% -0.0805 0.096)
OKLCHoklch(51.19% 0.125 130)
XYZxyz(9.5521, 14.1761, 3.0970)
Luminance0.1418 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7418 #3E1874
analogous
#746C18 #4E7418 #207418
triadic
#4E7418 #184E74 #74184E
tetradic
#4E7418 #18746C #3E1874 #741820
square
#4E7418 #18746C #3E1874 #741820
split-complementary
#4E7418 #182074 #6C1874
monochromatic
#111905 #2C410E #4E7418 #70A722 #91D532

Accessibility & contrast

On white

5.48
#4E7418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#4E7418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7418
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7418#FFFFFF#000000##FFFFFF
##4E74181.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B03
Deuteranopia (green-blind)
#746821
Tritanopia (blue-blind)
#506F63
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4e7418;
/* rgb */ color: rgb(78, 116, 24);
/* oklch */ color: oklch(51.2% 0.125 130.0);
Tailwind
colors: {
  custom: {
    50: '#839c5d',
    500: '#4e7418',
    950: '#000000',
  },
}
SCSS
$custom: #4e7418;
$custom-light: #839c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7418",
  "rgb": {
    "r": 78,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 84.783,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.5119,
    "c": 0.12527,
    "h": 130
  },
  "luminance": 0.14176
}

Semantic roles & 50–950 ramp

primary
#4E7418
secondary
#6B3FA9
accent
#3FE985
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4E7418

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

Preview Lab → · Contrast checker → · Palette generator →

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