#5E5314#5E5314

#5E5314 is a dark, moderate yellow. Relative luminance 0.086; OKLCH L 44.1% C 0.081 H 99.0°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#5E5314
RGBrgb(94, 83, 20)
HSLhsl(51, 65%, 22%)
HSVhsv(51, 79%, 37%)
CMYKcmyk(0%, 11.7%, 78.7%, 63.1%)
CIE-LABlab(35.24, -3.23, 36.35)
CIE-LCHlch(35.24, 36.50, 95.08°)
OKLaboklab(44.06% -0.0127 0.0802)
OKLCHoklch(44.06% 0.081 99)
XYZxyz(7.8360, 8.6171, 1.9122)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5314 #141F5E
analogous
#5E2E14 #5E5314 #445E14
triadic
#5E5314 #145E53 #53145E
tetradic
#5E5314 #145E2E #141F5E #5E1444
square
#5E5314 #145E2E #141F5E #5E1444
split-complementary
#5E5314 #14445E #2E145E
monochromatic
#191605 #2C2609 #5E5314 #90801F #C3AC29

Accessibility & contrast

On white

7.71
#5E5314 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5E5314 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5314
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5314#FFFFFF#000000##FFFFFF
##5E53141.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5109
Deuteranopia (green-blind)
#5F5518
Tritanopia (blue-blind)
#664C47
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5e5314;
/* rgb */ color: rgb(94, 83, 20);
/* oklch */ color: oklch(44.1% 0.081 99.0);
Tailwind
colors: {
  custom: {
    50: '#8f8357',
    500: '#5e5314',
    950: '#000000',
  },
}
SCSS
$custom: #5e5314;
$custom-light: #8f8357;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5314",
  "rgb": {
    "r": 94,
    "g": 83,
    "b": 20
  },
  "hsl": {
    "h": 51.081,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44061,
    "c": 0.08122,
    "h": 99
  },
  "luminance": 0.08617
}

Semantic roles & 50–950 ramp

primary
#5E5314
secondary
#384696
accent
#59E840
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E5314

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

Preview Lab → · Contrast checker → · Palette generator →

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