#4E7716#4E7716

#4E7716 is a mid, vivid yellow-green. Relative luminance 0.149; OKLCH L 52.0% C 0.130 H 130.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4E7716
RGBrgb(78, 119, 22)
HSLhsl(85, 69%, 28%)
HSVhsv(85, 82%, 47%)
CMYKcmyk(34.5%, 0%, 81.5%, 53.3%)
CIE-LABlab(45.46, -29.78, 44.83)
CIE-LCHlch(45.46, 53.82, 123.59°)
OKLaboklab(51.98% -0.0848 0.099)
OKLCHoklch(51.98% 0.13 130.6)
XYZxyz(9.8835, 14.8709, 3.1085)
Luminance0.1487 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7716 #3F1677
analogous
#776F16 #4E7716 #1D7716
triadic
#4E7716 #164E77 #77164E
tetradic
#4E7716 #16776F #3F1677 #77161D
square
#4E7716 #16776F #3F1677 #77161D
split-complementary
#4E7716 #161D77 #6F1677
monochromatic
#111A05 #2C430C #4E7716 #70AB20 #91D92F

Accessibility & contrast

On white

5.28
#4E7716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#4E7716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7716
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7716#FFFFFF#000000##FFFFFF
##4E77161.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#776B20
Tritanopia (blue-blind)
#507265
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4e7716;
/* rgb */ color: rgb(78, 119, 22);
/* oklch */ color: oklch(52.0% 0.130 130.6);
Tailwind
colors: {
  custom: {
    50: '#849e5c',
    500: '#4e7716',
    950: '#000000',
  },
}
SCSS
$custom: #4e7716;
$custom-light: #849e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7716",
  "rgb": {
    "r": 78,
    "g": 119,
    "b": 22
  },
  "hsl": {
    "h": 85.361,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51979,
    "c": 0.13036,
    "h": 130.6
  },
  "luminance": 0.14871
}

Semantic roles & 50–950 ramp

primary
#4E7716
secondary
#6C3CAC
accent
#3CEC86
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4E7716

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

Preview Lab → · Contrast checker → · Palette generator →

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