#5E5617#5E5617

#5E5617 is a dark, moderate yellow. Relative luminance 0.091; OKLCH L 44.8% C 0.082 H 101.9°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#5E5617
RGBrgb(94, 86, 23)
HSLhsl(53, 61%, 23%)
HSVhsv(53, 76%, 37%)
CMYKcmyk(0%, 8.5%, 75.5%, 63.1%)
CIE-LABlab(36.17, -4.85, 35.98)
CIE-LCHlch(36.17, 36.30, 97.68°)
OKLaboklab(44.81% -0.0169 0.0801)
OKLCHoklch(44.81% 0.082 101.9)
XYZxyz(8.0989, 9.0975, 2.1398)
Luminance0.0910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5617 #171F5E
analogous
#5E3217 #5E5617 #435E17
triadic
#5E5617 #175E56 #56175E
tetradic
#5E5617 #175E32 #171F5E #5E1743
square
#5E5617 #175E32 #171F5E #5E1743
split-complementary
#5E5617 #17435E #32175E
monochromatic
#191606 #2D290B #5E5617 #8F8323 #C0B02F

Accessibility & contrast

On white

7.45
#5E5617 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5E5617 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5617
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5617#FFFFFF#000000##FFFFFF
##5E56171.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F530D
Deuteranopia (green-blind)
#61571B
Tritanopia (blue-blind)
#664F49
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5e5617;
/* rgb */ color: rgb(94, 86, 23);
/* oklch */ color: oklch(44.8% 0.082 101.9);
Tailwind
colors: {
  custom: {
    50: '#8e8559',
    500: '#5e5617',
    950: '#000000',
  },
}
SCSS
$custom: #5e5617;
$custom-light: #8e8559;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5617",
  "rgb": {
    "r": 94,
    "g": 86,
    "b": 23
  },
  "hsl": {
    "h": 53.239,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.4481,
    "c": 0.08183,
    "h": 101.9
  },
  "luminance": 0.09097
}

Semantic roles & 50–950 ramp

primary
#5E5617
secondary
#3C4695
accent
#56E444
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #5E5617

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

Preview Lab → · Contrast checker → · Palette generator →

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