#4E5816#4E5816

#4E5816 is a dark, moderate yellow. Relative luminance 0.087; OKLCH L 43.8% C 0.089 H 117.7°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#4E5816
RGBrgb(78, 88, 22)
HSLhsl(69, 60%, 22%)
HSVhsv(69, 75%, 35%)
CMYKcmyk(11.4%, 0%, 75%, 65.5%)
CIE-LABlab(35.32, -13.86, 35.07)
CIE-LCHlch(35.32, 37.71, 111.56°)
OKLaboklab(43.76% -0.0412 0.0785)
OKLCHoklch(43.76% 0.089 117.7)
XYZxyz(6.7766, 8.6571, 2.0729)
Luminance0.0866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5816 #201658
analogous
#584116 #4E5816 #2D5816
triadic
#4E5816 #164E58 #58164E
tetradic
#4E5816 #165841 #201658 #58162D
square
#4E5816 #165841 #201658 #58162D
split-complementary
#4E5816 #162D58 #411658
monochromatic
#161806 #23270A #4E5816 #798922 #A5BA2E

Accessibility & contrast

On white

7.69
#4E5816 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4E5816 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5816
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5816#FFFFFF#000000##FFFFFF
##4E58161.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E530B
Deuteranopia (green-blind)
#5D531B
Tritanopia (blue-blind)
#53534B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e5816;
/* rgb */ color: rgb(78, 88, 22);
/* oklch */ color: oklch(43.8% 0.089 117.7);
Tailwind
colors: {
  custom: {
    50: '#828758',
    500: '#4e5816',
    950: '#000000',
  },
}
SCSS
$custom: #4e5816;
$custom-light: #828758;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5816",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 22
  },
  "hsl": {
    "h": 69.091,
    "s": 60,
    "l": 21.569
  },
  "oklch": {
    "l": 0.43763,
    "c": 0.08869,
    "h": 117.7
  },
  "luminance": 0.08657
}

Semantic roles & 50–950 ramp

primary
#4E5816
secondary
#473B8F
accent
#45E35D
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4E5816

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

Preview Lab → · Contrast checker → · Palette generator →

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