#4E7B16#4E7B16

#4E7B16 is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 53.0% C 0.136 H 131.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4E7B16
RGBrgb(78, 123, 22)
HSLhsl(87, 70%, 28%)
HSVhsv(87, 82%, 48%)
CMYKcmyk(36.6%, 0%, 82.1%, 51.8%)
CIE-LABlab(46.77, -31.64, 46.05)
CIE-LCHlch(46.77, 55.87, 124.49°)
OKLaboklab(53.05% -0.0898 0.1016)
OKLCHoklch(53.05% 0.136 131.5)
XYZxyz(10.3696, 15.8431, 3.2706)
Luminance0.1584 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7B16 #43167B
analogous
#7B7516 #4E7B16 #1B7B16
triadic
#4E7B16 #164E7B #7B164E
tetradic
#4E7B16 #167B75 #43167B #7B161B
square
#4E7B16 #167B75 #43167B #7B161B
split-complementary
#4E7B16 #161B7B #75167B
monochromatic
#101A05 #2D470D #4E7B16 #6FAF1F #8FDA31

Accessibility & contrast

On white

5.04
#4E7B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#4E7B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7B16
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7B16#FFFFFF#000000##FFFFFF
##4E7B161.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#7B6E21
Tritanopia (blue-blind)
#4F7668
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e7b16;
/* rgb */ color: rgb(78, 123, 22);
/* oklch */ color: oklch(53.0% 0.136 131.5);
Tailwind
colors: {
  custom: {
    50: '#84a15d',
    500: '#4e7b16',
    950: '#000000',
  },
}
SCSS
$custom: #4e7b16;
$custom-light: #84a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7b16",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 86.733,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53049,
    "c": 0.13558,
    "h": 131.5
  },
  "luminance": 0.15844
}

Semantic roles & 50–950 ramp

primary
#4E7B16
secondary
#703DB0
accent
#3BEC8A
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4E7B16

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

Preview Lab → · Contrast checker → · Palette generator →

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