#5D5F14#5D5F14

#5D5F14 is a mid, moderate yellow. Relative luminance 0.106; OKLCH L 46.9% C 0.094 H 111.1°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#5D5F14
RGBrgb(93, 95, 20)
HSLhsl(62, 65%, 23%)
HSVhsv(62, 79%, 37%)
CMYKcmyk(2.1%, 0%, 78.9%, 62.7%)
CIE-LABlab(38.83, -10.73, 39.74)
CIE-LCHlch(38.83, 41.16, 105.11°)
OKLaboklab(46.9% -0.0337 0.0874)
OKLCHoklch(46.9% 0.094 111.1)
XYZxyz(8.7330, 10.5623, 2.2404)
Luminance0.1056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5F14 #16145F
analogous
#5F3B14 #5D5F14 #375F14
triadic
#5D5F14 #145D5F #5F145D
tetradic
#5D5F14 #145F3B #16145F #5F1437
square
#5D5F14 #145F3B #16145F #5F1437
split-complementary
#5D5F14 #14375F #3B145F
monochromatic
#191905 #2C2C09 #5D5F14 #8E921F #C0C429

Accessibility & contrast

On white

6.75
#5D5F14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#5D5F14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5F14
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5F14#FFFFFF#000000##FFFFFF
##5D5F141.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A05
Deuteranopia (green-blind)
#685C1A
Tritanopia (blue-blind)
#645951
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5d5f14;
/* rgb */ color: rgb(93, 95, 20);
/* oklch */ color: oklch(46.9% 0.094 111.1);
Tailwind
colors: {
  custom: {
    50: '#8e8c58',
    500: '#5d5f14',
    950: '#000000',
  },
}
SCSS
$custom: #5d5f14;
$custom-light: #8e8c58;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5f14",
  "rgb": {
    "r": 93,
    "g": 95,
    "b": 20
  },
  "hsl": {
    "h": 61.6,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.46902,
    "c": 0.09371,
    "h": 111.1
  },
  "luminance": 0.10562
}

Semantic roles & 50–950 ramp

primary
#5D5F14
secondary
#3B3897
accent
#40E844
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0C04
muted
#7D7D79

Preview Lab

Preview with #5D5F14

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

Preview Lab → · Contrast checker → · Palette generator →

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