#5E4D18#5E4D18

#5E4D18 is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.7% C 0.074 H 90.9°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#5E4D18
RGBrgb(94, 77, 24)
HSLhsl(45, 59%, 23%)
HSVhsv(45, 74%, 37%)
CMYKcmyk(0%, 18.1%, 74.5%, 63.1%)
CIE-LABlab(33.46, 0.63, 32.79)
CIE-LCHlch(33.46, 32.79, 88.90°)
OKLaboklab(42.67% -0.0011 0.0735)
OKLCHoklch(42.67% 0.074 90.9)
XYZxyz(7.4352, 7.7538, 1.9690)
Luminance0.0775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4D18 #18295E
analogous
#5E2A18 #5E4D18 #4C5E18
triadic
#5E4D18 #185E4D #4D185E
tetradic
#5E4D18 #185E2A #18295E #5E184C
square
#5E4D18 #185E2A #18295E #5E184C
split-complementary
#5E4D18 #184C5E #2A185E
monochromatic
#181406 #2D250C #5E4D18 #8F7524 #C09D31

Accessibility & contrast

On white

8.23
#5E4D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#5E4D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E4D18
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4D18#FFFFFF#000000##FFFFFF
##5E4D181.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C11
Deuteranopia (green-blind)
#5A511B
Tritanopia (blue-blind)
#664642
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5e4d18;
/* rgb */ color: rgb(94, 77, 24);
/* oklch */ color: oklch(42.7% 0.074 90.9);
Tailwind
colors: {
  custom: {
    50: '#8e7e58',
    500: '#5e4d18',
    950: '#000000',
  },
}
SCSS
$custom: #5e4d18;
$custom-light: #8e7e58;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4d18",
  "rgb": {
    "r": 94,
    "g": 77,
    "b": 24
  },
  "hsl": {
    "h": 45.429,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.4267,
    "c": 0.07353,
    "h": 90.9
  },
  "luminance": 0.07753
}

Semantic roles & 50–950 ramp

primary
#5E4D18
secondary
#3D5294
accent
#6BE345
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0903
muted
#7E7B78

Preview Lab

Preview with #5E4D18

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

Preview Lab → · Contrast checker → · Palette generator →

#5E4D18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva