#5D5914#5D5914

#5D5914 is a mid, moderate yellow. Relative luminance 0.095; OKLCH L 45.4% C 0.087 H 106.0°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#5D5914
RGBrgb(93, 89, 20)
HSLhsl(57, 65%, 22%)
HSVhsv(57, 78%, 36%)
CMYKcmyk(0%, 4.3%, 78.5%, 63.5%)
CIE-LABlab(36.97, -7.27, 37.98)
CIE-LCHlch(36.97, 38.67, 100.84°)
OKLaboklab(45.42% -0.024 0.0837)
OKLCHoklch(45.42% 0.087 106)
XYZxyz(8.2132, 9.5227, 2.0671)
Luminance0.0952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5914 #14185D
analogous
#5D3414 #5D5914 #3D5D14
triadic
#5D5914 #145D59 #59145D
tetradic
#5D5914 #145D34 #14185D #5D143D
square
#5D5914 #145D34 #14185D #5D143D
split-complementary
#5D5914 #143D5D #34145D
monochromatic
#191805 #2B2909 #5D5914 #8F891F #C2B92A

Accessibility & contrast

On white

7.23
#5D5914 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#5D5914 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D5914
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5914#FFFFFF#000000##FFFFFF
##5D59141.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615507
Deuteranopia (green-blind)
#635819
Tritanopia (blue-blind)
#64534C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5d5914;
/* rgb */ color: rgb(93, 89, 20);
/* oklch */ color: oklch(45.4% 0.087 106.0);
Tailwind
colors: {
  custom: {
    50: '#8e8757',
    500: '#5d5914',
    950: '#000000',
  },
}
SCSS
$custom: #5d5914;
$custom-light: #8e8757;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5914",
  "rgb": {
    "r": 93,
    "g": 89,
    "b": 20
  },
  "hsl": {
    "h": 56.712,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.45416,
    "c": 0.08709,
    "h": 106
  },
  "luminance": 0.09522
}

Semantic roles & 50–950 ramp

primary
#5D5914
secondary
#383D95
accent
#49E840
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0D0B03
muted
#7D7C78

Preview Lab

Preview with #5D5914

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

Preview Lab → · Contrast checker → · Palette generator →

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