#4E7D16#4E7D16

#4E7D16 is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.6% C 0.138 H 131.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4E7D16
RGBrgb(78, 125, 22)
HSLhsl(87, 70%, 29%)
HSVhsv(87, 82%, 49%)
CMYKcmyk(37.6%, 0%, 82.4%, 51%)
CIE-LABlab(47.42, -32.55, 46.65)
CIE-LCHlch(47.42, 56.89, 124.90°)
OKLaboklab(53.58% -0.0923 0.1029)
OKLCHoklch(53.58% 0.138 131.9)
XYZxyz(10.6202, 16.3444, 3.3541)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7D16 #45167D
analogous
#7D7916 #4E7D16 #1A7D16
triadic
#4E7D16 #164E7D #7D164E
tetradic
#4E7D16 #167D79 #45167D #7D161A
square
#4E7D16 #167D79 #45167D #7D161A
split-complementary
#4E7D16 #161A7D #79167D
monochromatic
#101A05 #2E490D #4E7D16 #6EB11F #8EDB32

Accessibility & contrast

On white

4.92
#4E7D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#4E7D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7D16
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7D16#FFFFFF#000000##FFFFFF
##4E7D161.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7C6F22
Tritanopia (blue-blind)
#4F776A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e7d16;
/* rgb */ color: rgb(78, 125, 22);
/* oklch */ color: oklch(53.6% 0.138 131.9);
Tailwind
colors: {
  custom: {
    50: '#84a35d',
    500: '#4e7d16',
    950: '#000000',
  },
}
SCSS
$custom: #4e7d16;
$custom-light: #84a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7d16",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 22
  },
  "hsl": {
    "h": 87.379,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53584,
    "c": 0.13817,
    "h": 131.9
  },
  "luminance": 0.16345
}

Semantic roles & 50–950 ramp

primary
#4E7D16
secondary
#723DB2
accent
#3BED8C
background
#F8FAF5
surface
#F0F3E9
border
#CBCDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E7D16

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

Preview Lab → · Contrast checker → · Palette generator →

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