#4E6417#4E6417

#4E6417 is a mid, moderate yellow-green. Relative luminance 0.108; OKLCH L 46.9% C 0.104 H 124.4°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#4E6417
RGBrgb(78, 100, 23)
HSLhsl(77, 63%, 24%)
HSVhsv(77, 77%, 39%)
CMYKcmyk(22%, 0%, 77%, 60.8%)
CIE-LABlab(39.23, -20.30, 38.54)
CIE-LCHlch(39.23, 43.55, 117.78°)
OKLaboklab(46.93% -0.0589 0.086)
OKLCHoklch(46.93% 0.104 124.4)
XYZxyz(7.8538, 10.7958, 2.4805)
Luminance0.1080 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6417 #2D1764
analogous
#645417 #4E6417 #286417
triadic
#4E6417 #174E64 #64174E
tetradic
#4E6417 #176454 #2D1764 #641728
square
#4E6417 #176454 #2D1764 #641728
split-complementary
#4E6417 #172864 #541764
monochromatic
#131906 #27320C #4E6417 #759622 #9CC82E

Accessibility & contrast

On white

6.65
#4E6417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4E6417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6417
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6417#FFFFFF#000000##FFFFFF
##4E64171.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D09
Deuteranopia (green-blind)
#675C1E
Tritanopia (blue-blind)
#525F55
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4e6417;
/* rgb */ color: rgb(78, 100, 23);
/* oklch */ color: oklch(46.9% 0.104 124.4);
Tailwind
colors: {
  custom: {
    50: '#82905a',
    500: '#4e6417',
    950: '#000000',
  },
}
SCSS
$custom: #4e6417;
$custom-light: #82905a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6417",
  "rgb": {
    "r": 78,
    "g": 100,
    "b": 23
  },
  "hsl": {
    "h": 77.143,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.46925,
    "c": 0.10422,
    "h": 124.4
  },
  "luminance": 0.10796
}

Semantic roles & 50–950 ramp

primary
#4E6417
secondary
#573C9A
accent
#42E671
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4E6417

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

Preview Lab → · Contrast checker → · Palette generator →

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