#5E5013#5E5013

#5E5013 is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.3% C 0.079 H 95.6°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#5E5013
RGBrgb(94, 80, 19)
HSLhsl(49, 66%, 22%)
HSVhsv(49, 80%, 37%)
CMYKcmyk(0%, 14.9%, 79.8%, 63.1%)
CIE-LABlab(34.32, -1.48, 35.90)
CIE-LCHlch(34.32, 35.93, 92.35°)
OKLaboklab(43.34% -0.0078 0.079)
OKLCHoklch(43.34% 0.079 95.6)
XYZxyz(7.6027, 8.1644, 1.7914)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5013 #13215E
analogous
#5E2B13 #5E5013 #475E13
triadic
#5E5013 #135E50 #50135E
tetradic
#5E5013 #135E2B #13215E #5E1347
square
#5E5013 #135E2B #13215E #5E1347
split-complementary
#5E5013 #13475E #2B135E
monochromatic
#191605 #2B2509 #5E5013 #917B1D #C4A728

Accessibility & contrast

On white

7.98
#5E5013 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5E5013 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5013
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5013#FFFFFF#000000##FFFFFF
##5E50131.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e5013;
/* rgb */ color: rgb(94, 80, 19);
/* oklch */ color: oklch(43.3% 0.079 95.6);
Tailwind
colors: {
  custom: {
    50: '#8f8056',
    500: '#5e5013',
    950: '#000000',
  },
}
SCSS
$custom: #5e5013;
$custom-light: #8f8056;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5013",
  "rgb": {
    "r": 94,
    "g": 80,
    "b": 19
  },
  "hsl": {
    "h": 48.8,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43335,
    "c": 0.07942,
    "h": 95.6
  },
  "luminance": 0.08164
}

Semantic roles & 50–950 ramp

primary
#5E5013
secondary
#374996
accent
#5EE93F
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E5013

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

Preview Lab → · Contrast checker → · Palette generator →

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