#5F5D10#5F5D10

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

Color values

HEX#5F5D10
RGBrgb(95, 93, 16)
HSLhsl(58, 71%, 22%)
HSVhsv(58, 83%, 37%)
CMYKcmyk(0%, 2.1%, 83.2%, 62.7%)
CIE-LABlab(38.37, -8.80, 40.82)
CIE-LCHlch(38.37, 41.76, 102.16°)
OKLaboklab(46.57% -0.0288 0.0888)
OKLCHoklch(46.57% 0.093 108)
XYZxyz(8.7275, 10.2993, 2.0183)
Luminance0.1030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5D10 #10125F
analogous
#5F3610 #5F5D10 #3A5F10
triadic
#5F5D10 #105F5D #5D105F
tetradic
#5F5D10 #105F36 #10125F #5F103A
square
#5F5D10 #105F36 #10125F #5F103A
split-complementary
#5F5D10 #103A5F #36105F
monochromatic
#1A1A04 #2B2A07 #5F5D10 #939019 #C8C422

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F5D10#FFFFFF#000000##FFFFFF
##5F5D101.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)
#665900
Deuteranopia (green-blind)
#675C17
Tritanopia (blue-blind)
#67564F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5f5d10;
/* rgb */ color: rgb(95, 93, 16);
/* oklch */ color: oklch(46.6% 0.093 108.0);
Tailwind
colors: {
  custom: {
    50: '#8f8a56',
    500: '#5f5d10',
    950: '#000000',
  },
}
SCSS
$custom: #5f5d10;
$custom-light: #8f8a56;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5d10",
  "rgb": {
    "r": 95,
    "g": 93,
    "b": 16
  },
  "hsl": {
    "h": 58.481,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.46573,
    "c": 0.09339,
    "h": 108
  },
  "luminance": 0.10299
}

Semantic roles & 50–950 ramp

primary
#5F5D10
secondary
#333598
accent
#3EEE3A
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5F5D10

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

Preview Lab → · Contrast checker → · Palette generator →

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