#4E6016#4E6016

#4E6016 is a mid, moderate yellow-green. Relative luminance 0.100; OKLCH L 45.9% C 0.099 H 122.4°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#4E6016
RGBrgb(78, 96, 22)
HSLhsl(75, 63%, 23%)
HSVhsv(75, 77%, 38%)
CMYKcmyk(18.7%, 0%, 77.1%, 62.4%)
CIE-LABlab(37.92, -18.24, 37.65)
CIE-LCHlch(37.92, 41.84, 115.85°)
OKLaboklab(45.86% -0.0534 0.0839)
OKLCHoklch(45.86% 0.099 122.4)
XYZxyz(7.4697, 10.0433, 2.3039)
Luminance0.1004 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6016 #281660
analogous
#604D16 #4E6016 #296016
triadic
#4E6016 #164E60 #60164E
tetradic
#4E6016 #16604D #281660 #601629
square
#4E6016 #16604D #281660 #601629
split-complementary
#4E6016 #162960 #4D1660
monochromatic
#141906 #262E0B #4E6016 #769221 #9FC42D

Accessibility & contrast

On white

6.98
#4E6016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4E6016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6016
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6016#FFFFFF#000000##FFFFFF
##4E60161.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A08
Deuteranopia (green-blind)
#64591C
Tritanopia (blue-blind)
#525B52
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e6016;
/* rgb */ color: rgb(78, 96, 22);
/* oklch */ color: oklch(45.9% 0.099 122.4);
Tailwind
colors: {
  custom: {
    50: '#828d59',
    500: '#4e6016',
    950: '#000000',
  },
}
SCSS
$custom: #4e6016;
$custom-light: #828d59;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6016",
  "rgb": {
    "r": 78,
    "g": 96,
    "b": 22
  },
  "hsl": {
    "h": 74.595,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45861,
    "c": 0.09946,
    "h": 122.4
  },
  "luminance": 0.10043
}

Semantic roles & 50–950 ramp

primary
#4E6016
secondary
#513B97
accent
#42E66A
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4E6016

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

Preview Lab → · Contrast checker → · Palette generator →

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