#5E5017#5E5017

#5E5017 is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.4% C 0.077 H 95.0°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#5E5017
RGBrgb(94, 80, 23)
HSLhsl(48, 61%, 23%)
HSVhsv(48, 76%, 37%)
CMYKcmyk(0%, 14.9%, 75.5%, 63.1%)
CIE-LABlab(34.35, -1.26, 34.16)
CIE-LCHlch(34.35, 34.19, 92.11°)
OKLaboklab(43.37% -0.0067 0.0762)
OKLCHoklch(43.37% 0.077 95)
XYZxyz(7.6398, 8.1793, 1.9868)
Luminance0.0818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5017 #17255E
analogous
#5E2C17 #5E5017 #485E17
triadic
#5E5017 #175E50 #50175E
tetradic
#5E5017 #175E2C #17255E #5E1748
square
#5E5017 #175E2C #17255E #5E1748
split-complementary
#5E5017 #17485E #2C175E
monochromatic
#191506 #2D260B #5E5017 #8F7A23 #C0A42F

Accessibility & contrast

On white

7.97
#5E5017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5E5017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5017
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5017#FFFFFF#000000##FFFFFF
##5E50171.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E0F
Deuteranopia (green-blind)
#5C531A
Tritanopia (blue-blind)
#664944
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5e5017;
/* rgb */ color: rgb(94, 80, 23);
/* oklch */ color: oklch(43.4% 0.077 95.0);
Tailwind
colors: {
  custom: {
    50: '#8e8058',
    500: '#5e5017',
    950: '#000000',
  },
}
SCSS
$custom: #5e5017;
$custom-light: #8e8058;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5017",
  "rgb": {
    "r": 94,
    "g": 80,
    "b": 23
  },
  "hsl": {
    "h": 48.169,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43369,
    "c": 0.07651,
    "h": 95
  },
  "luminance": 0.08179
}

Semantic roles & 50–950 ramp

primary
#5E5017
secondary
#3C4E95
accent
#64E444
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E5017

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

Preview Lab → · Contrast checker → · Palette generator →

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