#4E7414#4E7414

#4E7414 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#4E7414
RGBrgb(78, 116, 20)
HSLhsl(84, 71%, 27%)
HSVhsv(84, 83%, 45%)
CMYKcmyk(32.8%, 0%, 82.8%, 54.5%)
CIE-LABlab(44.46, -28.46, 44.56)
CIE-LCHlch(44.46, 52.88, 122.57°)
OKLaboklab(51.17% -0.0814 0.0981)
OKLCHoklch(51.17% 0.127 129.7)
XYZxyz(9.5135, 14.1607, 2.8937)
Luminance0.1416 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7414 #3A1474
analogous
#746A14 #4E7414 #1E7414
triadic
#4E7414 #144E74 #74144E
tetradic
#4E7414 #14746A #3A1474 #74141E
square
#4E7414 #14746A #3A1474 #74141E
split-complementary
#4E7414 #141E74 #6A1474
monochromatic
#121A05 #2B400B #4E7414 #71A81D #94DA28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7414#FFFFFF#000000##FFFFFF
##4E74141.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: #4e7414;
/* rgb */ color: rgb(78, 116, 20);
/* oklch */ color: oklch(51.2% 0.127 129.7);
Tailwind
colors: {
  custom: {
    50: '#839c5b',
    500: '#4e7414',
    950: '#000000',
  },
}
SCSS
$custom: #4e7414;
$custom-light: #839c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7414",
  "rgb": {
    "r": 78,
    "g": 116,
    "b": 20
  },
  "hsl": {
    "h": 83.75,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.51165,
    "c": 0.12746,
    "h": 129.7
  },
  "luminance": 0.14161
}

Semantic roles & 50–950 ramp

primary
#4E7414
secondary
#663AAA
accent
#3AED81
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4E7414

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

Preview Lab → · Contrast checker → · Palette generator →

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