#5E5313#5E5313

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

Color values

HEX#5E5313
RGBrgb(94, 83, 19)
HSLhsl(51, 66%, 22%)
HSVhsv(51, 80%, 37%)
CMYKcmyk(0%, 11.7%, 79.8%, 63.1%)
CIE-LABlab(35.23, -3.28, 36.76)
CIE-LCHlch(35.23, 36.91, 95.10°)
OKLaboklab(44.05% -0.0129 0.0809)
OKLCHoklch(44.05% 0.082 99.1)
XYZxyz(7.8273, 8.6136, 1.8663)
Luminance0.0861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5313 #131E5E
analogous
#5E2E13 #5E5313 #445E13
triadic
#5E5313 #135E53 #53135E
tetradic
#5E5313 #135E2E #131E5E #5E1344
square
#5E5313 #135E2E #131E5E #5E1344
split-complementary
#5E5313 #13445E #2E135E
monochromatic
#191605 #2B2609 #5E5313 #91801D #C4AD28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E5313#FFFFFF#000000##FFFFFF
##5E53131.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)
#5C5107
Deuteranopia (green-blind)
#5F5517
Tritanopia (blue-blind)
#664C47
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5e5313;
/* rgb */ color: rgb(94, 83, 19);
/* oklch */ color: oklch(44.1% 0.082 99.1);
Tailwind
colors: {
  custom: {
    50: '#8f8356',
    500: '#5e5313',
    950: '#000000',
  },
}
SCSS
$custom: #5e5313;
$custom-light: #8f8356;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5313",
  "rgb": {
    "r": 94,
    "g": 83,
    "b": 19
  },
  "hsl": {
    "h": 51.2,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.44053,
    "c": 0.0819,
    "h": 99.1
  },
  "luminance": 0.08613
}

Semantic roles & 50–950 ramp

primary
#5E5313
secondary
#374596
accent
#58E93F
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E5313

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

Preview Lab → · Contrast checker → · Palette generator →

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