#4E6916#4E6916

#4E6916 is a mid, moderate yellow-green. Relative luminance 0.118; OKLCH L 48.2% C 0.112 H 126.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#4E6916
RGBrgb(78, 105, 22)
HSLhsl(80, 65%, 25%)
HSVhsv(80, 79%, 41%)
CMYKcmyk(25.7%, 0%, 79%, 58.8%)
CIE-LABlab(40.87, -22.94, 40.50)
CIE-LCHlch(40.87, 46.54, 119.53°)
OKLaboklab(48.24% -0.0662 0.0899)
OKLCHoklch(48.24% 0.112 126.4)
XYZxyz(8.3383, 11.7806, 2.5935)
Luminance0.1178 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6916 #311669
analogous
#695A16 #4E6916 #256916
triadic
#4E6916 #164E69 #69164E
tetradic
#4E6916 #16695A #311669 #691625
square
#4E6916 #16695A #311669 #691625
split-complementary
#4E6916 #162569 #5A1669
monochromatic
#131905 #28360B #4E6916 #749C21 #99CE2B

Accessibility & contrast

On white

6.26
#4E6916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4E6916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6916
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6916#FFFFFF#000000##FFFFFF
##4E69161.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6104
Deuteranopia (green-blind)
#6B601E
Tritanopia (blue-blind)
#526459
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e6916;
/* rgb */ color: rgb(78, 105, 22);
/* oklch */ color: oklch(48.2% 0.112 126.4);
Tailwind
colors: {
  custom: {
    50: '#83945a',
    500: '#4e6916',
    950: '#000000',
  },
}
SCSS
$custom: #4e6916;
$custom-light: #83945a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6916",
  "rgb": {
    "r": 78,
    "g": 105,
    "b": 22
  },
  "hsl": {
    "h": 79.518,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.48244,
    "c": 0.11167,
    "h": 126.4
  },
  "luminance": 0.11781
}

Semantic roles & 50–950 ramp

primary
#4E6916
secondary
#5C3B9F
accent
#3FE876
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4E6916

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

Preview Lab → · Contrast checker → · Palette generator →

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