#4E5917#4E5917

#4E5917 is a dark, moderate yellow-green. Relative luminance 0.088; OKLCH L 44.0% C 0.089 H 118.4°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#4E5917
RGBrgb(78, 89, 23)
HSLhsl(70, 59%, 22%)
HSVhsv(70, 74%, 35%)
CMYKcmyk(12.4%, 0%, 74.2%, 65.1%)
CIE-LABlab(35.65, -14.35, 34.97)
CIE-LCHlch(35.65, 37.80, 112.31°)
OKLaboklab(44.03% -0.0425 0.0785)
OKLCHoklch(44.03% 0.089 118.4)
XYZxyz(6.8691, 8.8264, 2.1522)
Luminance0.0883 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5917 #221759
analogous
#594317 #4E5917 #2D5917
triadic
#4E5917 #174E59 #59174E
tetradic
#4E5917 #175943 #221759 #59172D
square
#4E5917 #175943 #221759 #59172D
split-complementary
#4E5917 #172D59 #431759
monochromatic
#151806 #23280A #4E5917 #798A24 #A3BA30

Accessibility & contrast

On white

7.59
#4E5917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4E5917 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5917
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5917#FFFFFF#000000##FFFFFF
##4E59171.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F540D
Deuteranopia (green-blind)
#5E541C
Tritanopia (blue-blind)
#53544C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e5917;
/* rgb */ color: rgb(78, 89, 23);
/* oklch */ color: oklch(44.0% 0.089 118.4);
Tailwind
colors: {
  custom: {
    50: '#828759',
    500: '#4e5917',
    950: '#000000',
  },
}
SCSS
$custom: #4e5917;
$custom-light: #828759;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5917",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 23
  },
  "hsl": {
    "h": 70,
    "s": 58.929,
    "l": 21.961
  },
  "oklch": {
    "l": 0.44032,
    "c": 0.08926,
    "h": 118.4
  },
  "luminance": 0.08826
}

Semantic roles & 50–950 ramp

primary
#4E5917
secondary
#4A3C90
accent
#46E260
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #4E5917

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

Preview Lab → · Contrast checker → · Palette generator →

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