#4E6D17#4E6D17

#4E6D17 is a mid, moderate yellow-green. Relative luminance 0.126; OKLCH L 49.3% C 0.116 H 127.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#4E6D17
RGBrgb(78, 109, 23)
HSLhsl(82, 65%, 26%)
HSVhsv(82, 79%, 43%)
CMYKcmyk(28.4%, 0%, 78.9%, 57.3%)
CIE-LABlab(42.18, -24.89, 41.39)
CIE-LCHlch(42.18, 48.30, 121.02°)
OKLaboklab(49.32% -0.0714 0.092)
OKLCHoklch(49.32% 0.116 127.8)
XYZxyz(8.7652, 12.6186, 2.7843)
Luminance0.1262 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6D17 #36176D
analogous
#6D6117 #4E6D17 #236D17
triadic
#4E6D17 #174E6D #6D174E
tetradic
#4E6D17 #176D61 #36176D #6D1723
square
#4E6D17 #176D61 #36176D #6D1723
split-complementary
#4E6D17 #17236D #61176D
monochromatic
#121905 #2A3A0C #4E6D17 #72A022 #96D22C

Accessibility & contrast

On white

5.96
#4E6D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4E6D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6D17
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6D17#FFFFFF#000000##FFFFFF
##4E6D171.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736504
Deuteranopia (green-blind)
#6F631F
Tritanopia (blue-blind)
#51685D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e6d17;
/* rgb */ color: rgb(78, 109, 23);
/* oklch */ color: oklch(49.3% 0.116 127.8);
Tailwind
colors: {
  custom: {
    50: '#83975b',
    500: '#4e6d17',
    950: '#000000',
  },
}
SCSS
$custom: #4e6d17;
$custom-light: #83975b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6d17",
  "rgb": {
    "r": 78,
    "g": 109,
    "b": 23
  },
  "hsl": {
    "h": 81.628,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49316,
    "c": 0.11646,
    "h": 127.8
  },
  "luminance": 0.12619
}

Semantic roles & 50–950 ramp

primary
#4E6D17
secondary
#623DA3
accent
#40E87C
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4E6D17

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

Preview Lab → · Contrast checker → · Palette generator →

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