#4E5814#4E5814

#4E5814 is a dark, moderate yellow. Relative luminance 0.086; OKLCH L 43.7% C 0.090 H 117.6°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#4E5814
RGBrgb(78, 88, 20)
HSLhsl(69, 63%, 21%)
HSVhsv(69, 77%, 35%)
CMYKcmyk(11.4%, 0%, 77.3%, 65.5%)
CIE-LABlab(35.30, -13.98, 35.90)
CIE-LCHlch(35.30, 38.53, 111.28°)
OKLaboklab(43.75% -0.0418 0.0799)
OKLCHoklch(43.75% 0.09 117.6)
XYZxyz(6.7580, 8.6497, 1.9752)
Luminance0.0865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5814 #1E1458
analogous
#584014 #4E5814 #2C5814
triadic
#4E5814 #144E58 #58144E
tetradic
#4E5814 #145840 #1E1458 #58142C
square
#4E5814 #145840 #1E1458 #58142C
split-complementary
#4E5814 #142C58 #401458
monochromatic
#161906 #222609 #4E5814 #7A8A1F #A6BC2B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E5814#FFFFFF#000000##FFFFFF
##4E58141.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)
#5E5308
Deuteranopia (green-blind)
#5D531A
Tritanopia (blue-blind)
#53534B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e5814;
/* rgb */ color: rgb(78, 88, 20);
/* oklch */ color: oklch(43.7% 0.090 117.6);
Tailwind
colors: {
  custom: {
    50: '#828757',
    500: '#4e5814',
    950: '#000000',
  },
}
SCSS
$custom: #4e5814;
$custom-light: #828757;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5814",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 20
  },
  "hsl": {
    "h": 68.824,
    "s": 62.963,
    "l": 21.176
  },
  "oklch": {
    "l": 0.43746,
    "c": 0.09016,
    "h": 117.6
  },
  "luminance": 0.0865
}

Semantic roles & 50–950 ramp

primary
#4E5814
secondary
#453890
accent
#42E65A
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4E5814

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

Preview Lab → · Contrast checker → · Palette generator →

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