#4E7417#4E7417

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

Color values

HEX#4E7417
RGBrgb(78, 116, 23)
HSLhsl(85, 67%, 27%)
HSVhsv(85, 80%, 45%)
CMYKcmyk(32.8%, 0%, 80.2%, 54.5%)
CIE-LABlab(44.48, -28.30, 43.58)
CIE-LCHlch(44.48, 51.96, 123.00°)
OKLaboklab(51.18% -0.0807 0.0966)
OKLCHoklch(51.18% 0.126 129.9)
XYZxyz(9.5419, 14.1720, 3.0432)
Luminance0.1417 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7417 #3D1774
analogous
#746B17 #4E7417 #207417
triadic
#4E7417 #174E74 #74174E
tetradic
#4E7417 #17746B #3D1774 #741720
square
#4E7417 #17746B #3D1774 #741720
split-complementary
#4E7417 #172074 #6B1774
monochromatic
#111A05 #2C410D #4E7417 #70A721 #92D630

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7417#FFFFFF#000000##FFFFFF
##4E74171.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)
#7A6B01
Deuteranopia (green-blind)
#756821
Tritanopia (blue-blind)
#506F63
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4e7417;
/* rgb */ color: rgb(78, 116, 23);
/* oklch */ color: oklch(51.2% 0.126 129.9);
Tailwind
colors: {
  custom: {
    50: '#839c5c',
    500: '#4e7417',
    950: '#000000',
  },
}
SCSS
$custom: #4e7417;
$custom-light: #839c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7417",
  "rgb": {
    "r": 78,
    "g": 116,
    "b": 23
  },
  "hsl": {
    "h": 84.516,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.51184,
    "c": 0.12585,
    "h": 129.9
  },
  "luminance": 0.14172
}

Semantic roles & 50–950 ramp

primary
#4E7417
secondary
#6A3DA9
accent
#3EEA84
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4E7417

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

Preview Lab → · Contrast checker → · Palette generator →

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