#4E6C17#4E6C17

#4E6C17 is a mid, moderate yellow-green. Relative luminance 0.124; OKLCH L 49.0% C 0.115 H 127.5°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#4E6C17
RGBrgb(78, 108, 23)
HSLhsl(81, 65%, 26%)
HSVhsv(81, 79%, 42%)
CMYKcmyk(27.8%, 0%, 78.7%, 57.6%)
CIE-LABlab(41.85, -24.39, 41.08)
CIE-LCHlch(41.85, 47.77, 120.70°)
OKLaboklab(49.05% -0.0701 0.0913)
OKLCHoklch(49.05% 0.115 127.5)
XYZxyz(8.6591, 12.4065, 2.7489)
Luminance0.1241 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6C17 #35176C
analogous
#6C5F17 #4E6C17 #246C17
triadic
#4E6C17 #174E6C #6C174E
tetradic
#4E6C17 #176C5F #35176C #6C1724
square
#4E6C17 #176C5F #35176C #6C1724
split-complementary
#4E6C17 #17246C #5F176C
monochromatic
#121905 #2A3A0C #4E6C17 #729E22 #97D12C

Accessibility & contrast

On white

6.03
#4E6C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#4E6C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6C17
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6C17#FFFFFF#000000##FFFFFF
##4E6C171.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726405
Deuteranopia (green-blind)
#6E621F
Tritanopia (blue-blind)
#51675C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e6c17;
/* rgb */ color: rgb(78, 108, 23);
/* oklch */ color: oklch(49.0% 0.115 127.5);
Tailwind
colors: {
  custom: {
    50: '#83965b',
    500: '#4e6c17',
    950: '#000000',
  },
}
SCSS
$custom: #4e6c17;
$custom-light: #83965b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6c17",
  "rgb": {
    "r": 78,
    "g": 108,
    "b": 23
  },
  "hsl": {
    "h": 81.176,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.4905,
    "c": 0.11511,
    "h": 127.5
  },
  "luminance": 0.12407
}

Semantic roles & 50–950 ramp

primary
#4E6C17
secondary
#613DA2
accent
#40E87B
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4E6C17

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

Preview Lab → · Contrast checker → · Palette generator →

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