#5E5019#5E5019

#5E5019 is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.4% C 0.075 H 94.6°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#5E5019
RGBrgb(94, 80, 25)
HSLhsl(48, 58%, 23%)
HSVhsv(48, 73%, 37%)
CMYKcmyk(0%, 14.9%, 73.4%, 63.1%)
CIE-LABlab(34.37, -1.14, 33.24)
CIE-LCHlch(34.37, 33.26, 91.96°)
OKLaboklab(43.39% -0.0061 0.0747)
OKLCHoklch(43.39% 0.075 94.6)
XYZxyz(7.6606, 8.1876, 2.0964)
Luminance0.0819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5019 #19275E
analogous
#5E2D19 #5E5019 #495E19
triadic
#5E5019 #195E50 #50195E
tetradic
#5E5019 #195E2D #19275E #5E1949
square
#5E5019 #195E2D #19275E #5E1949
split-complementary
#5E5019 #19495E #2D195E
monochromatic
#181506 #2E270C #5E5019 #8E7926 #BFA233

Accessibility & contrast

On white

7.96
#5E5019 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5E5019 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5019
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5019#FFFFFF#000000##FFFFFF
##5E50191.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E12
Deuteranopia (green-blind)
#5C531C
Tritanopia (blue-blind)
#664945
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5e5019;
/* rgb */ color: rgb(94, 80, 25);
/* oklch */ color: oklch(43.4% 0.075 94.6);
Tailwind
colors: {
  custom: {
    50: '#8e8059',
    500: '#5e5019',
    950: '#000000',
  },
}
SCSS
$custom: #5e5019;
$custom-light: #8e8059;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5019",
  "rgb": {
    "r": 94,
    "g": 80,
    "b": 25
  },
  "hsl": {
    "h": 47.826,
    "s": 57.983,
    "l": 23.333
  },
  "oklch": {
    "l": 0.43388,
    "c": 0.07492,
    "h": 94.6
  },
  "luminance": 0.08187
}

Semantic roles & 50–950 ramp

primary
#5E5019
secondary
#3F5094
accent
#66E147
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A04
muted
#7E7C79

Preview Lab

Preview with #5E5019

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

Preview Lab → · Contrast checker → · Palette generator →

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