#4E7216#4E7216

#4E7216 is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.6% C 0.124 H 129.3°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#4E7216
RGBrgb(78, 114, 22)
HSLhsl(83, 68%, 27%)
HSVhsv(83, 81%, 45%)
CMYKcmyk(31.6%, 0%, 80.7%, 55.3%)
CIE-LABlab(43.82, -27.40, 43.30)
CIE-LCHlch(43.82, 51.24, 122.32°)
OKLaboklab(50.64% -0.0783 0.0958)
OKLCHoklch(50.64% 0.124 129.3)
XYZxyz(9.3040, 13.7120, 2.9154)
Luminance0.1371 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7216 #3A1672
analogous
#726816 #4E7216 #207216
triadic
#4E7216 #164E72 #72164E
tetradic
#4E7216 #167268 #3A1672 #721620
square
#4E7216 #167268 #3A1672 #721620
split-complementary
#4E7216 #162072 #681672
monochromatic
#121A05 #2B3F0C #4E7216 #71A520 #94D62C

Accessibility & contrast

On white

5.61
#4E7216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#4E7216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7216
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7216#FFFFFF#000000##FFFFFF
##4E72161.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#736720
Tritanopia (blue-blind)
#516D61
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e7216;
/* rgb */ color: rgb(78, 114, 22);
/* oklch */ color: oklch(50.6% 0.124 129.3);
Tailwind
colors: {
  custom: {
    50: '#839a5c',
    500: '#4e7216',
    950: '#000000',
  },
}
SCSS
$custom: #4e7216;
$custom-light: #839a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7216",
  "rgb": {
    "r": 78,
    "g": 114,
    "b": 22
  },
  "hsl": {
    "h": 83.478,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.50643,
    "c": 0.12375,
    "h": 129.3
  },
  "luminance": 0.13712
}

Semantic roles & 50–950 ramp

primary
#4E7216
secondary
#663CA8
accent
#3DEB81
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4E7216

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

Preview Lab → · Contrast checker → · Palette generator →

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