#5F5D14#5F5D14

#5F5D14 is a mid, moderate yellow. Relative luminance 0.103; OKLCH L 46.6% C 0.091 H 107.9°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#5F5D14
RGBrgb(95, 93, 20)
HSLhsl(58, 65%, 23%)
HSVhsv(58, 79%, 37%)
CMYKcmyk(0%, 2.1%, 78.9%, 62.7%)
CIE-LABlab(38.40, -8.62, 39.39)
CIE-LCHlch(38.40, 40.32, 102.34°)
OKLaboklab(46.6% -0.0279 0.0866)
OKLCHoklch(46.6% 0.091 107.9)
XYZxyz(8.7603, 10.3124, 2.1907)
Luminance0.1031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5D14 #14165F
analogous
#5F3714 #5F5D14 #3B5F14
triadic
#5F5D14 #145F5D #5D145F
tetradic
#5F5D14 #145F37 #14165F #5F143B
square
#5F5D14 #145F37 #14165F #5F143B
split-complementary
#5F5D14 #143B5F #37145F
monochromatic
#191905 #2C2C09 #5F5D14 #928E1F #C4C029

Accessibility & contrast

On white

6.86
#5F5D14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#5F5D14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F5D14
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5D14#FFFFFF#000000##FFFFFF
##5F5D141.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655905
Deuteranopia (green-blind)
#675C1A
Tritanopia (blue-blind)
#66564F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5f5d14;
/* rgb */ color: rgb(95, 93, 20);
/* oklch */ color: oklch(46.6% 0.091 107.9);
Tailwind
colors: {
  custom: {
    50: '#8f8a58',
    500: '#5f5d14',
    950: '#000000',
  },
}
SCSS
$custom: #5f5d14;
$custom-light: #8f8a58;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5d14",
  "rgb": {
    "r": 95,
    "g": 93,
    "b": 20
  },
  "hsl": {
    "h": 58.4,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.46599,
    "c": 0.09101,
    "h": 107.9
  },
  "luminance": 0.10312
}

Semantic roles & 50–950 ramp

primary
#5F5D14
secondary
#383B97
accent
#44E840
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #5F5D14

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

Preview Lab → · Contrast checker → · Palette generator →

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