#5E5213#5E5213

#5E5213 is a dark, moderate yellow. Relative luminance 0.085; OKLCH L 43.8% C 0.081 H 98.0°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#5E5213
RGBrgb(94, 82, 19)
HSLhsl(50, 66%, 22%)
HSVhsv(50, 80%, 37%)
CMYKcmyk(0%, 12.8%, 79.8%, 63.1%)
CIE-LABlab(34.93, -2.68, 36.47)
CIE-LCHlch(34.93, 36.57, 94.21°)
OKLaboklab(43.81% -0.0112 0.0803)
OKLCHoklch(43.81% 0.081 98)
XYZxyz(7.7513, 8.4617, 1.8410)
Luminance0.0846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5213 #131F5E
analogous
#5E2D13 #5E5213 #455E13
triadic
#5E5213 #135E52 #52135E
tetradic
#5E5213 #135E2D #131F5E #5E1345
square
#5E5213 #135E2D #131F5E #5E1345
split-complementary
#5E5213 #13455E #2D135E
monochromatic
#191605 #2B2609 #5E5213 #917E1D #C4AB28

Accessibility & contrast

On white

7.80
#5E5213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5E5213 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5213
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5213#FFFFFF#000000##FFFFFF
##5E52131.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5008
Deuteranopia (green-blind)
#5E5417
Tritanopia (blue-blind)
#664B46
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5e5213;
/* rgb */ color: rgb(94, 82, 19);
/* oklch */ color: oklch(43.8% 0.081 98.0);
Tailwind
colors: {
  custom: {
    50: '#8f8256',
    500: '#5e5213',
    950: '#000000',
  },
}
SCSS
$custom: #5e5213;
$custom-light: #8f8256;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5213",
  "rgb": {
    "r": 94,
    "g": 82,
    "b": 19
  },
  "hsl": {
    "h": 50.4,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43813,
    "c": 0.08104,
    "h": 98
  },
  "luminance": 0.08461
}

Semantic roles & 50–950 ramp

primary
#5E5213
secondary
#374696
accent
#5AE93F
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E5213

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

Preview Lab → · Contrast checker → · Palette generator →

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