#4E5718#4E5718

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

Color values

HEX#4E5718
RGBrgb(78, 87, 24)
HSLhsl(69, 57%, 22%)
HSVhsv(69, 72%, 34%)
CMYKcmyk(10.3%, 0%, 72.4%, 65.9%)
CIE-LABlab(35.01, -13.16, 33.88)
CIE-LCHlch(35.01, 36.34, 111.23°)
OKLaboklab(43.52% -0.0391 0.0764)
OKLCHoklch(43.52% 0.086 117.1)
XYZxyz(6.7151, 8.5021, 2.1513)
Luminance0.0850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5718 #211857
analogous
#574118 #4E5718 #2F5718
triadic
#4E5718 #184E57 #57184E
tetradic
#4E5718 #185741 #211857 #57182F
square
#4E5718 #185741 #211857 #57182F
split-complementary
#4E5718 #182F57 #411857
monochromatic
#161807 #23270B #4E5718 #798725 #A4B732

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E5718#FFFFFF#000000##FFFFFF
##4E57181.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)
#5D520F
Deuteranopia (green-blind)
#5C531D
Tritanopia (blue-blind)
#53524A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e5718;
/* rgb */ color: rgb(78, 87, 24);
/* oklch */ color: oklch(43.5% 0.086 117.1);
Tailwind
colors: {
  custom: {
    50: '#828659',
    500: '#4e5718',
    950: '#000000',
  },
}
SCSS
$custom: #4e5718;
$custom-light: #828659;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5718",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 24
  },
  "hsl": {
    "h": 68.571,
    "s": 56.757,
    "l": 21.765
  },
  "oklch": {
    "l": 0.4352,
    "c": 0.08577,
    "h": 117.1
  },
  "luminance": 0.08502
}

Semantic roles & 50–950 ramp

primary
#4E5718
secondary
#493D8E
accent
#48E05E
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #4E5718

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

Preview Lab → · Contrast checker → · Palette generator →

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