#4E5815#4E5815

#4E5815 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#4E5815
RGBrgb(78, 88, 21)
HSLhsl(69, 61%, 21%)
HSVhsv(69, 76%, 35%)
CMYKcmyk(11.4%, 0%, 76.1%, 65.5%)
CIE-LABlab(35.31, -13.92, 35.49)
CIE-LCHlch(35.31, 38.12, 111.42°)
OKLaboklab(43.75% -0.0415 0.0792)
OKLCHoklch(43.75% 0.089 117.7)
XYZxyz(6.7671, 8.6534, 2.0231)
Luminance0.0865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5815 #1F1558
analogous
#584115 #4E5815 #2D5815
triadic
#4E5815 #154E58 #58154E
tetradic
#4E5815 #155841 #1F1558 #58152D
square
#4E5815 #155841 #1F1558 #58152D
split-complementary
#4E5815 #152D58 #411558
monochromatic
#161906 #222709 #4E5815 #7A8921 #A6BB2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #4e5815;
/* rgb */ color: rgb(78, 88, 21);
/* oklch */ color: oklch(43.8% 0.089 117.7);
Tailwind
colors: {
  custom: {
    50: '#828757',
    500: '#4e5815',
    950: '#000000',
  },
}
SCSS
$custom: #4e5815;
$custom-light: #828757;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5815",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 21
  },
  "hsl": {
    "h": 68.955,
    "s": 61.468,
    "l": 21.373
  },
  "oklch": {
    "l": 0.43754,
    "c": 0.08943,
    "h": 117.7
  },
  "luminance": 0.08653
}

Semantic roles & 50–950 ramp

primary
#4E5815
secondary
#463990
accent
#43E55B
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4E5815

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

Preview Lab → · Contrast checker → · Palette generator →

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