#4E5717#4E5717

#4E5717 is a dark, moderate yellow. Relative luminance 0.085; OKLCH L 43.5% C 0.087 H 117.1°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#4E5717
RGBrgb(78, 87, 23)
HSLhsl(68, 58%, 22%)
HSVhsv(68, 74%, 34%)
CMYKcmyk(10.3%, 0%, 73.6%, 65.9%)
CIE-LABlab(35.00, -13.23, 34.32)
CIE-LCHlch(35.00, 36.78, 111.08°)
OKLaboklab(43.51% -0.0394 0.0771)
OKLCHoklch(43.51% 0.087 117.1)
XYZxyz(6.7049, 8.4980, 2.0975)
Luminance0.0850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5717 #201757
analogous
#574017 #4E5717 #2E5717
triadic
#4E5717 #174E57 #57174E
tetradic
#4E5717 #175740 #201757 #57172E
square
#4E5717 #175740 #201757 #57172E
split-complementary
#4E5717 #172E57 #401757
monochromatic
#161806 #23270A #4E5717 #798724 #A5B831

Accessibility & contrast

On white

7.78
#4E5717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4E5717 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5717
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5717#FFFFFF#000000##FFFFFF
##4E57171.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D520D
Deuteranopia (green-blind)
#5C531C
Tritanopia (blue-blind)
#53524A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e5717;
/* rgb */ color: rgb(78, 87, 23);
/* oklch */ color: oklch(43.5% 0.087 117.1);
Tailwind
colors: {
  custom: {
    50: '#828658',
    500: '#4e5717',
    950: '#000000',
  },
}
SCSS
$custom: #4e5717;
$custom-light: #828658;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5717",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 23
  },
  "hsl": {
    "h": 68.438,
    "s": 58.182,
    "l": 21.569
  },
  "oklch": {
    "l": 0.43511,
    "c": 0.08658,
    "h": 117.1
  },
  "luminance": 0.08498
}

Semantic roles & 50–950 ramp

primary
#4E5717
secondary
#473C8E
accent
#46E15C
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4E5717

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

Preview Lab → · Contrast checker → · Palette generator →

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