#4E5B17#4E5B17

#4E5B17 is a dark, moderate yellow-green. Relative luminance 0.092; OKLCH L 44.6% C 0.092 H 119.7°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#4E5B17
RGBrgb(78, 91, 23)
HSLhsl(71, 60%, 22%)
HSVhsv(71, 75%, 36%)
CMYKcmyk(14.3%, 0%, 74.7%, 64.3%)
CIE-LABlab(36.30, -15.46, 35.63)
CIE-LCHlch(36.30, 38.84, 113.46°)
OKLaboklab(44.56% -0.0456 0.0799)
OKLCHoklch(44.56% 0.092 119.7)
XYZxyz(7.0378, 9.1638, 2.2085)
Luminance0.0916 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5B17 #24175B
analogous
#5B4617 #4E5B17 #2C5B17
triadic
#4E5B17 #174E5B #5B174E
tetradic
#4E5B17 #175B46 #24175B #5B172C
square
#4E5B17 #175B46 #24175B #5B172C
split-complementary
#4E5B17 #172C5B #46175B
monochromatic
#151806 #242A0B #4E5B17 #788C23 #A2BD30

Accessibility & contrast

On white

7.41
#4E5B17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#4E5B17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5B17
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5B17#FFFFFF#000000##FFFFFF
##4E5B171.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550C
Deuteranopia (green-blind)
#60561C
Tritanopia (blue-blind)
#53564E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e5b17;
/* rgb */ color: rgb(78, 91, 23);
/* oklch */ color: oklch(44.6% 0.092 119.7);
Tailwind
colors: {
  custom: {
    50: '#828959',
    500: '#4e5b17',
    950: '#000000',
  },
}
SCSS
$custom: #4e5b17;
$custom-light: #828959;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5b17",
  "rgb": {
    "r": 78,
    "g": 91,
    "b": 23
  },
  "hsl": {
    "h": 71.471,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44555,
    "c": 0.09195,
    "h": 119.7
  },
  "luminance": 0.09164
}

Semantic roles & 50–950 ramp

primary
#4E5B17
secondary
#4C3C92
accent
#45E363
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #4E5B17

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

Preview Lab → · Contrast checker → · Palette generator →

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