#5F5D15#5F5D15

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

Color values

HEX#5F5D15
RGBrgb(95, 93, 21)
HSLhsl(58, 64%, 23%)
HSVhsv(58, 78%, 37%)
CMYKcmyk(0%, 2.1%, 77.9%, 62.7%)
CIE-LABlab(38.40, -8.57, 39.01)
CIE-LCHlch(38.40, 39.94, 102.38°)
OKLaboklab(46.61% -0.0277 0.086)
OKLCHoklch(46.61% 0.09 107.8)
XYZxyz(8.7694, 10.3160, 2.2386)
Luminance0.1032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5D15 #15175F
analogous
#5F3815 #5F5D15 #3C5F15
triadic
#5F5D15 #155F5D #5D155F
tetradic
#5F5D15 #155F38 #15175F #5F153C
square
#5F5D15 #155F38 #15175F #5F153C
split-complementary
#5F5D15 #153C5F #38155F
monochromatic
#191906 #2D2C0A #5F5D15 #918E20 #C3BF2B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F5D15#FFFFFF#000000##FFFFFF
##5F5D151.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)
#655907
Deuteranopia (green-blind)
#675C1A
Tritanopia (blue-blind)
#66564F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5f5d15;
/* rgb */ color: rgb(95, 93, 21);
/* oklch */ color: oklch(46.6% 0.090 107.8);
Tailwind
colors: {
  custom: {
    50: '#8f8a58',
    500: '#5f5d15',
    950: '#000000',
  },
}
SCSS
$custom: #5f5d15;
$custom-light: #8f8a58;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5d15",
  "rgb": {
    "r": 95,
    "g": 93,
    "b": 21
  },
  "hsl": {
    "h": 58.378,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.46606,
    "c": 0.09036,
    "h": 107.8
  },
  "luminance": 0.10316
}

Semantic roles & 50–950 ramp

primary
#5F5D15
secondary
#3A3C96
accent
#45E741
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #5F5D15

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

Preview Lab → · Contrast checker → · Palette generator →

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