#4E6617#4E6617

#4E6617 is a mid, moderate yellow-green. Relative luminance 0.112; OKLCH L 47.5% C 0.107 H 125.3°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#4E6617
RGBrgb(78, 102, 23)
HSLhsl(78, 63%, 25%)
HSVhsv(78, 77%, 40%)
CMYKcmyk(23.5%, 0%, 77.5%, 60%)
CIE-LABlab(39.89, -21.34, 39.18)
CIE-LCHlch(39.89, 44.61, 118.58°)
OKLaboklab(47.46% -0.0618 0.0873)
OKLCHoklch(47.46% 0.107 125.3)
XYZxyz(8.0480, 11.1842, 2.5452)
Luminance0.1118 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6617 #2F1766
analogous
#665717 #4E6617 #276617
triadic
#4E6617 #174E66 #66174E
tetradic
#4E6617 #176657 #2F1766 #661727
square
#4E6617 #176657 #2F1766 #661727
split-complementary
#4E6617 #172766 #571766
monochromatic
#131906 #28340C #4E6617 #749822 #9ACA2E

Accessibility & contrast

On white

6.49
#4E6617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#4E6617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6617
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6617#FFFFFF#000000##FFFFFF
##4E66171.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F08
Deuteranopia (green-blind)
#695E1E
Tritanopia (blue-blind)
#526157
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e6617;
/* rgb */ color: rgb(78, 102, 23);
/* oklch */ color: oklch(47.5% 0.107 125.3);
Tailwind
colors: {
  custom: {
    50: '#82915a',
    500: '#4e6617',
    950: '#000000',
  },
}
SCSS
$custom: #4e6617;
$custom-light: #82915a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6617",
  "rgb": {
    "r": 78,
    "g": 102,
    "b": 23
  },
  "hsl": {
    "h": 78.228,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.47455,
    "c": 0.10695,
    "h": 125.3
  },
  "luminance": 0.11184
}

Semantic roles & 50–950 ramp

primary
#4E6617
secondary
#5A3C9C
accent
#42E674
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4E6617

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

Preview Lab → · Contrast checker → · Palette generator →

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