#5E5718#5E5718

#5E5718 is a mid, moderate yellow. Relative luminance 0.093; OKLCH L 45.1% C 0.082 H 102.9°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#5E5718
RGBrgb(94, 87, 24)
HSLhsl(54, 59%, 23%)
HSVhsv(54, 74%, 37%)
CMYKcmyk(0%, 7.4%, 74.5%, 63.1%)
CIE-LABlab(36.48, -5.39, 35.85)
CIE-LCHlch(36.48, 36.25, 98.55°)
OKLaboklab(45.06% -0.0183 0.08)
OKLCHoklch(45.06% 0.082 102.9)
XYZxyz(8.1895, 9.2624, 2.2204)
Luminance0.0926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5718 #181F5E
analogous
#5E3418 #5E5718 #425E18
triadic
#5E5718 #185E57 #57185E
tetradic
#5E5718 #185E34 #181F5E #5E1842
square
#5E5718 #185E34 #181F5E #5E1842
split-complementary
#5E5718 #18425E #34185E
monochromatic
#181706 #2D2A0C #5E5718 #8F8424 #C0B131

Accessibility & contrast

On white

7.36
#5E5718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#5E5718 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5718
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5718#FFFFFF#000000##FFFFFF
##5E57181.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F540F
Deuteranopia (green-blind)
#62571C
Tritanopia (blue-blind)
#66514A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5e5718;
/* rgb */ color: rgb(94, 87, 24);
/* oklch */ color: oklch(45.1% 0.082 102.9);
Tailwind
colors: {
  custom: {
    50: '#8e8659',
    500: '#5e5718',
    950: '#000000',
  },
}
SCSS
$custom: #5e5718;
$custom-light: #8e8659;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5718",
  "rgb": {
    "r": 94,
    "g": 87,
    "b": 24
  },
  "hsl": {
    "h": 54,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45061,
    "c": 0.08206,
    "h": 102.9
  },
  "luminance": 0.09262
}

Semantic roles & 50–950 ramp

primary
#5E5718
secondary
#3D4694
accent
#55E345
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #5E5718

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

Preview Lab → · Contrast checker → · Palette generator →

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