#5F5D0F#5F5D0F

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

Color values

HEX#5F5D0F
RGBrgb(95, 93, 15)
HSLhsl(59, 73%, 22%)
HSVhsv(59, 84%, 37%)
CMYKcmyk(0%, 2.1%, 84.2%, 62.7%)
CIE-LABlab(38.37, -8.84, 41.15)
CIE-LCHlch(38.37, 42.09, 102.12°)
OKLaboklab(46.57% -0.029 0.0893)
OKLCHoklch(46.57% 0.094 108)
XYZxyz(8.7202, 10.2964, 1.9799)
Luminance0.1030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5D0F #0F115F
analogous
#5F350F #5F5D0F #395F0F
triadic
#5F5D0F #0F5F5D #5D0F5F
tetradic
#5F5D0F #0F5F35 #0F115F #5F0F39
square
#5F5D0F #0F5F35 #0F115F #5F0F39
split-complementary
#5F5D0F #0F395F #350F5F
monochromatic
#1A1A04 #2A2907 #5F5D0F #949117 #C9C420

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F5D0F#FFFFFF#000000##FFFFFF
##5F5D0F1.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)
#675C16
Tritanopia (blue-blind)
#67564F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5f5d0f;
/* rgb */ color: rgb(95, 93, 15);
/* oklch */ color: oklch(46.6% 0.094 108.0);
Tailwind
colors: {
  custom: {
    50: '#8f8a56',
    500: '#5f5d0f',
    950: '#000000',
  },
}
SCSS
$custom: #5f5d0f;
$custom-light: #8f8a56;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5d0f",
  "rgb": {
    "r": 95,
    "g": 93,
    "b": 15
  },
  "hsl": {
    "h": 58.5,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.46567,
    "c": 0.09392,
    "h": 108
  },
  "luminance": 0.10296
}

Semantic roles & 50–950 ramp

primary
#5F5D0F
secondary
#323498
accent
#3DEF38
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5F5D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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