#4E7316#4E7316

#4E7316 is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 50.9% C 0.125 H 129.5°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#4E7316
RGBrgb(78, 115, 22)
HSLhsl(84, 68%, 27%)
HSVhsv(84, 81%, 45%)
CMYKcmyk(32.2%, 0%, 80.9%, 54.9%)
CIE-LABlab(44.15, -27.88, 43.61)
CIE-LCHlch(44.15, 51.76, 122.59°)
OKLaboklab(50.91% -0.0796 0.0964)
OKLCHoklch(50.91% 0.125 129.5)
XYZxyz(9.4174, 13.9388, 2.9532)
Luminance0.1394 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7316 #3B1673
analogous
#736A16 #4E7316 #207316
triadic
#4E7316 #164E73 #73164E
tetradic
#4E7316 #16736A #3B1673 #731620
square
#4E7316 #16736A #3B1673 #731620
split-complementary
#4E7316 #162073 #6A1673
monochromatic
#111A05 #2B400C #4E7316 #71A620 #93D72D

Accessibility & contrast

On white

5.54
#4E7316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#4E7316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7316
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7316#FFFFFF#000000##FFFFFF
##4E73161.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#746720
Tritanopia (blue-blind)
#506E62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e7316;
/* rgb */ color: rgb(78, 115, 22);
/* oklch */ color: oklch(50.9% 0.125 129.5);
Tailwind
colors: {
  custom: {
    50: '#839b5c',
    500: '#4e7316',
    950: '#000000',
  },
}
SCSS
$custom: #4e7316;
$custom-light: #839b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7316",
  "rgb": {
    "r": 78,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 83.871,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.5091,
    "c": 0.12508,
    "h": 129.5
  },
  "luminance": 0.13939
}

Semantic roles & 50–950 ramp

primary
#4E7316
secondary
#673CA9
accent
#3DEB82
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4E7316

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

Preview Lab → · Contrast checker → · Palette generator →

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