#4E6216#4E6216

#4E6216 is a mid, moderate yellow-green. Relative luminance 0.104; OKLCH L 46.4% C 0.102 H 123.4°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#4E6216
RGBrgb(78, 98, 22)
HSLhsl(76, 63%, 24%)
HSVhsv(76, 78%, 38%)
CMYKcmyk(20.4%, 0%, 77.6%, 61.6%)
CIE-LABlab(38.57, -19.31, 38.29)
CIE-LCHlch(38.57, 42.88, 116.76°)
OKLaboklab(46.39% -0.0563 0.0853)
OKLCHoklch(46.39% 0.102 123.4)
XYZxyz(7.6545, 10.4129, 2.3655)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6216 #2A1662
analogous
#625016 #4E6216 #286216
triadic
#4E6216 #164E62 #62164E
tetradic
#4E6216 #166250 #2A1662 #621628
square
#4E6216 #166250 #2A1662 #621628
split-complementary
#4E6216 #162862 #501662
monochromatic
#141906 #26300B #4E6216 #769421 #9EC62C

Accessibility & contrast

On white

6.81
#4E6216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4E6216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6216
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6216#FFFFFF#000000##FFFFFF
##4E62161.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B07
Deuteranopia (green-blind)
#655B1D
Tritanopia (blue-blind)
#525D53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e6216;
/* rgb */ color: rgb(78, 98, 22);
/* oklch */ color: oklch(46.4% 0.102 123.4);
Tailwind
colors: {
  custom: {
    50: '#828e59',
    500: '#4e6216',
    950: '#000000',
  },
}
SCSS
$custom: #4e6216;
$custom-light: #828e59;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6216",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 22
  },
  "hsl": {
    "h": 75.789,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46389,
    "c": 0.10217,
    "h": 123.4
  },
  "luminance": 0.10413
}

Semantic roles & 50–950 ramp

primary
#4E6216
secondary
#543B99
accent
#41E66D
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4E6216

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

Preview Lab → · Contrast checker → · Palette generator →

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