#5E5717#5E5717

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

Color values

HEX#5E5717
RGBrgb(94, 87, 23)
HSLhsl(54, 61%, 23%)
HSVhsv(54, 76%, 37%)
CMYKcmyk(0%, 7.4%, 75.5%, 63.1%)
CIE-LABlab(36.48, -5.45, 36.28)
CIE-LCHlch(36.48, 36.69, 98.54°)
OKLaboklab(45.05% -0.0186 0.0807)
OKLCHoklch(45.05% 0.083 103)
XYZxyz(8.1793, 9.2583, 2.1666)
Luminance0.0926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5717 #171E5E
analogous
#5E3417 #5E5717 #415E17
triadic
#5E5717 #175E57 #57175E
tetradic
#5E5717 #175E34 #171E5E #5E1741
square
#5E5717 #175E34 #171E5E #5E1741
split-complementary
#5E5717 #17415E #34175E
monochromatic
#191706 #2D290B #5E5717 #8F8523 #C0B22F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E5717#FFFFFF#000000##FFFFFF
##5E57171.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)
#5F540D
Deuteranopia (green-blind)
#62571B
Tritanopia (blue-blind)
#66504A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5e5717;
/* rgb */ color: rgb(94, 87, 23);
/* oklch */ color: oklch(45.1% 0.083 103.0);
Tailwind
colors: {
  custom: {
    50: '#8e8659',
    500: '#5e5717',
    950: '#000000',
  },
}
SCSS
$custom: #5e5717;
$custom-light: #8e8659;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5717",
  "rgb": {
    "r": 94,
    "g": 87,
    "b": 23
  },
  "hsl": {
    "h": 54.085,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45052,
    "c": 0.08281,
    "h": 103
  },
  "luminance": 0.09258
}

Semantic roles & 50–950 ramp

primary
#5E5717
secondary
#3C4595
accent
#54E444
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #5E5717

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

Preview Lab → · Contrast checker → · Palette generator →

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