#4E6517#4E6517

#4E6517 is a mid, moderate yellow-green. Relative luminance 0.110; OKLCH L 47.2% C 0.106 H 124.9°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#4E6517
RGBrgb(78, 101, 23)
HSLhsl(78, 63%, 24%)
HSVhsv(78, 77%, 40%)
CMYKcmyk(22.8%, 0%, 77.2%, 60.4%)
CIE-LABlab(39.56, -20.82, 38.86)
CIE-LCHlch(39.56, 44.08, 118.19°)
OKLaboklab(47.19% -0.0603 0.0867)
OKLCHoklch(47.19% 0.106 124.9)
XYZxyz(7.9503, 10.9888, 2.5127)
Luminance0.1099 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6517 #2E1765
analogous
#655517 #4E6517 #276517
triadic
#4E6517 #174E65 #65174E
tetradic
#4E6517 #176555 #2E1765 #651727
square
#4E6517 #176555 #2E1765 #651727
split-complementary
#4E6517 #172765 #551765
monochromatic
#131906 #28330C #4E6517 #749722 #9BC92E

Accessibility & contrast

On white

6.57
#4E6517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#4E6517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6517
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6517#FFFFFF#000000##FFFFFF
##4E65171.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E08
Deuteranopia (green-blind)
#685D1E
Tritanopia (blue-blind)
#526056
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e6517;
/* rgb */ color: rgb(78, 101, 23);
/* oklch */ color: oklch(47.2% 0.106 124.9);
Tailwind
colors: {
  custom: {
    50: '#82915a',
    500: '#4e6517',
    950: '#000000',
  },
}
SCSS
$custom: #4e6517;
$custom-light: #82915a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6517",
  "rgb": {
    "r": 78,
    "g": 101,
    "b": 23
  },
  "hsl": {
    "h": 77.692,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.4719,
    "c": 0.10559,
    "h": 124.9
  },
  "luminance": 0.10989
}

Semantic roles & 50–950 ramp

primary
#4E6517
secondary
#583C9B
accent
#42E672
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4E6517

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

Preview Lab → · Contrast checker → · Palette generator →

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