#4E5A17#4E5A17

#4E5A17 is a dark, moderate yellow-green. Relative luminance 0.090; OKLCH L 44.3% C 0.091 H 119.1°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#4E5A17
RGBrgb(78, 90, 23)
HSLhsl(71, 59%, 22%)
HSVhsv(71, 74%, 35%)
CMYKcmyk(13.3%, 0%, 74.4%, 64.7%)
CIE-LABlab(35.97, -14.91, 35.30)
CIE-LCHlch(35.97, 38.32, 112.90°)
OKLaboklab(44.29% -0.044 0.0792)
OKLCHoklch(44.29% 0.091 119.1)
XYZxyz(6.9528, 8.9939, 2.1802)
Luminance0.0899 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5A17 #23175A
analogous
#5A4517 #4E5A17 #2D5A17
triadic
#4E5A17 #174E5A #5A174E
tetradic
#4E5A17 #175A45 #23175A #5A172D
square
#4E5A17 #175A45 #23175A #5A172D
split-complementary
#4E5A17 #172D5A #45175A
monochromatic
#151806 #24290B #4E5A17 #788B23 #A2BB30

Accessibility & contrast

On white

7.50
#4E5A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#4E5A17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5A17
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5A17#FFFFFF#000000##FFFFFF
##4E5A171.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60550C
Deuteranopia (green-blind)
#5F551C
Tritanopia (blue-blind)
#53554D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e5a17;
/* rgb */ color: rgb(78, 90, 23);
/* oklch */ color: oklch(44.3% 0.091 119.1);
Tailwind
colors: {
  custom: {
    50: '#828859',
    500: '#4e5a17',
    950: '#000000',
  },
}
SCSS
$custom: #4e5a17;
$custom-light: #828859;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5a17",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 23
  },
  "hsl": {
    "h": 70.746,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.44293,
    "c": 0.09059,
    "h": 119.1
  },
  "luminance": 0.08994
}

Semantic roles & 50–950 ramp

primary
#4E5A17
secondary
#4B3C91
accent
#45E261
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #4E5A17

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

Preview Lab → · Contrast checker → · Palette generator →

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