#5E5819#5E5819

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

Color values

HEX#5E5819
RGBrgb(94, 88, 25)
HSLhsl(55, 58%, 23%)
HSVhsv(55, 73%, 37%)
CMYKcmyk(0%, 6.4%, 73.4%, 63.1%)
CIE-LABlab(36.80, -5.92, 35.72)
CIE-LCHlch(36.80, 36.20, 99.40°)
OKLaboklab(45.31% -0.0197 0.0799)
OKLCHoklch(45.31% 0.082 103.8)
XYZxyz(8.2816, 9.4296, 2.3034)
Luminance0.0943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5819 #191F5E
analogous
#5E3519 #5E5819 #415E19
triadic
#5E5819 #195E58 #58195E
tetradic
#5E5819 #195E35 #191F5E #5E1941
square
#5E5819 #195E35 #191F5E #5E1941
split-complementary
#5E5819 #19415E #35195E
monochromatic
#181706 #2E2B0C #5E5819 #8E8526 #BFB333

Accessibility & contrast

On white

7.28
#5E5819 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#5E5819 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5819
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5819#FFFFFF#000000##FFFFFF
##5E58191.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605510
Deuteranopia (green-blind)
#62581D
Tritanopia (blue-blind)
#65524B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5e5819;
/* rgb */ color: rgb(94, 88, 25);
/* oklch */ color: oklch(45.3% 0.082 103.8);
Tailwind
colors: {
  custom: {
    50: '#8e865a',
    500: '#5e5819',
    950: '#000000',
  },
}
SCSS
$custom: #5e5819;
$custom-light: #8e865a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5819",
  "rgb": {
    "r": 94,
    "g": 88,
    "b": 25
  },
  "hsl": {
    "h": 54.783,
    "s": 57.983,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45313,
    "c": 0.0823,
    "h": 103.8
  },
  "luminance": 0.09429
}

Semantic roles & 50–950 ramp

primary
#5E5819
secondary
#3F4694
accent
#54E147
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0D0B04
muted
#7D7C79

Preview Lab

Preview with #5E5819

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

Preview Lab → · Contrast checker → · Palette generator →

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