#5E5813#5E5813

#5E5813 is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.3% C 0.087 H 104.2°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#5E5813
RGBrgb(94, 88, 19)
HSLhsl(55, 66%, 22%)
HSVhsv(55, 80%, 37%)
CMYKcmyk(0%, 6.4%, 79.8%, 63.1%)
CIE-LABlab(36.76, -6.25, 38.20)
CIE-LCHlch(36.76, 38.71, 99.29°)
OKLaboklab(45.27% -0.0213 0.0839)
OKLCHoklch(45.27% 0.087 104.2)
XYZxyz(8.2237, 9.4065, 1.9984)
Luminance0.0941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5813 #13195E
analogous
#5E3313 #5E5813 #3F5E13
triadic
#5E5813 #135E58 #58135E
tetradic
#5E5813 #135E33 #13195E #5E133F
square
#5E5813 #135E33 #13195E #5E133F
split-complementary
#5E5813 #133F5E #33135E
monochromatic
#191805 #2B2809 #5E5813 #91881D #C4B728

Accessibility & contrast

On white

7.29
#5E5813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#5E5813 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5813
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5813#FFFFFF#000000##FFFFFF
##5E58131.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615506
Deuteranopia (green-blind)
#635818
Tritanopia (blue-blind)
#66514B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5e5813;
/* rgb */ color: rgb(94, 88, 19);
/* oklch */ color: oklch(45.3% 0.087 104.2);
Tailwind
colors: {
  custom: {
    50: '#8e8657',
    500: '#5e5813',
    950: '#000000',
  },
}
SCSS
$custom: #5e5813;
$custom-light: #8e8657;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5813",
  "rgb": {
    "r": 94,
    "g": 88,
    "b": 19
  },
  "hsl": {
    "h": 55.2,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.45265,
    "c": 0.08659,
    "h": 104.2
  },
  "luminance": 0.09406
}

Semantic roles & 50–950 ramp

primary
#5E5813
secondary
#373E96
accent
#4CE93F
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5E5813

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

Preview Lab → · Contrast checker → · Palette generator →

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