#4E7415#4E7415

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

Color values

HEX#4E7415
RGBrgb(78, 116, 21)
HSLhsl(84, 69%, 27%)
HSVhsv(84, 82%, 45%)
CMYKcmyk(32.8%, 0%, 81.9%, 54.5%)
CIE-LABlab(44.47, -28.41, 44.24)
CIE-LCHlch(44.47, 52.58, 122.71°)
OKLaboklab(51.17% -0.0811 0.0976)
OKLCHoklch(51.17% 0.127 129.7)
XYZxyz(9.5226, 14.1643, 2.9416)
Luminance0.1416 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7415 #3B1574
analogous
#746B15 #4E7415 #1F7415
triadic
#4E7415 #154E74 #74154E
tetradic
#4E7415 #15746B #3B1574 #74151F
square
#4E7415 #15746B #3B1574 #74151F
split-complementary
#4E7415 #151F74 #6B1574
monochromatic
#111A05 #2B400C #4E7415 #71A81E #93D92B

Accessibility & contrast

On white

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

On black

3.83
#4E7415 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4E7415#FFFFFF#000000##FFFFFF
##4E74151.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#75681F
Tritanopia (blue-blind)
#506F62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4e7415;
/* rgb */ color: rgb(78, 116, 21);
/* oklch */ color: oklch(51.2% 0.127 129.7);
Tailwind
colors: {
  custom: {
    50: '#839c5b',
    500: '#4e7415',
    950: '#000000',
  },
}
SCSS
$custom: #4e7415;
$custom-light: #839c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7415",
  "rgb": {
    "r": 78,
    "g": 116,
    "b": 21
  },
  "hsl": {
    "h": 84,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.51171,
    "c": 0.12694,
    "h": 129.7
  },
  "luminance": 0.14165
}

Semantic roles & 50–950 ramp

primary
#4E7415
secondary
#673BAA
accent
#3CEC82
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4E7415

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

Preview Lab → · Contrast checker → · Palette generator →

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