#4E6816#4E6816

#4E6816 is a mid, moderate yellow-green. Relative luminance 0.116; OKLCH L 48.0% C 0.110 H 126.0°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#4E6816
RGBrgb(78, 104, 22)
HSLhsl(79, 65%, 25%)
HSVhsv(79, 79%, 41%)
CMYKcmyk(25%, 0%, 78.8%, 59.2%)
CIE-LABlab(40.54, -22.43, 40.18)
CIE-LCHlch(40.54, 46.02, 119.17°)
OKLaboklab(47.98% -0.0648 0.0893)
OKLCHoklch(47.98% 0.11 126)
XYZxyz(8.2371, 11.5781, 2.5597)
Luminance0.1158 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6816 #301668
analogous
#685916 #4E6816 #256816
triadic
#4E6816 #164E68 #68164E
tetradic
#4E6816 #166859 #301668 #681625
square
#4E6816 #166859 #301668 #681625
split-complementary
#4E6816 #162568 #591668
monochromatic
#131905 #28350B #4E6816 #749B21 #9ACD2B

Accessibility & contrast

On white

6.33
#4E6816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4E6816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6816
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6816#FFFFFF#000000##FFFFFF
##4E68161.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6105
Deuteranopia (green-blind)
#6A5F1E
Tritanopia (blue-blind)
#526358
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e6816;
/* rgb */ color: rgb(78, 104, 22);
/* oklch */ color: oklch(48.0% 0.110 126.0);
Tailwind
colors: {
  custom: {
    50: '#82935a',
    500: '#4e6816',
    950: '#000000',
  },
}
SCSS
$custom: #4e6816;
$custom-light: #82935a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6816",
  "rgb": {
    "r": 78,
    "g": 104,
    "b": 22
  },
  "hsl": {
    "h": 79.024,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47979,
    "c": 0.11031,
    "h": 126
  },
  "luminance": 0.11578
}

Semantic roles & 50–950 ramp

primary
#4E6816
secondary
#5B3B9F
accent
#40E875
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4E6816

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

Preview Lab → · Contrast checker → · Palette generator →

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