#4E6A16#4E6A16

#4E6A16 is a mid, moderate yellow-green. Relative luminance 0.120; OKLCH L 48.5% C 0.113 H 126.7°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#4E6A16
RGBrgb(78, 106, 22)
HSLhsl(80, 66%, 25%)
HSVhsv(80, 79%, 42%)
CMYKcmyk(26.4%, 0%, 79.2%, 58.4%)
CIE-LABlab(41.19, -23.45, 40.81)
CIE-LCHlch(41.19, 47.07, 119.88°)
OKLaboklab(48.51% -0.0676 0.0906)
OKLCHoklch(48.51% 0.113 126.7)
XYZxyz(8.4408, 11.9855, 2.6276)
Luminance0.1199 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6A16 #32166A
analogous
#6A5C16 #4E6A16 #246A16
triadic
#4E6A16 #164E6A #6A164E
tetradic
#4E6A16 #166A5C #32166A #6A1624
square
#4E6A16 #166A5C #32166A #6A1624
split-complementary
#4E6A16 #16246A #5C166A
monochromatic
#131905 #29370B #4E6A16 #739D21 #99CF2B

Accessibility & contrast

On white

6.18
#4E6A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4E6A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6A16
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6A16#FFFFFF#000000##FFFFFF
##4E6A161.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706204
Deuteranopia (green-blind)
#6C611E
Tritanopia (blue-blind)
#51655A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e6a16;
/* rgb */ color: rgb(78, 106, 22);
/* oklch */ color: oklch(48.5% 0.113 126.7);
Tailwind
colors: {
  custom: {
    50: '#83945a',
    500: '#4e6a16',
    950: '#000000',
  },
}
SCSS
$custom: #4e6a16;
$custom-light: #83945a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6a16",
  "rgb": {
    "r": 78,
    "g": 106,
    "b": 22
  },
  "hsl": {
    "h": 80,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.4851,
    "c": 0.11302,
    "h": 126.7
  },
  "luminance": 0.11986
}

Semantic roles & 50–950 ramp

primary
#4E6A16
secondary
#5D3BA0
accent
#3FE978
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4E6A16

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

Preview Lab → · Contrast checker → · Palette generator →

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