#5F5E0F#5F5E0F

#5F5E0F is a mid, moderate yellow. Relative luminance 0.105; OKLCH L 46.8% C 0.095 H 108.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#5F5E0F
RGBrgb(95, 94, 15)
HSLhsl(59, 73%, 22%)
HSVhsv(59, 84%, 37%)
CMYKcmyk(0%, 1.1%, 84.2%, 62.7%)
CIE-LABlab(38.68, -9.41, 41.42)
CIE-LCHlch(38.68, 42.48, 102.80°)
OKLaboklab(46.81% -0.0306 0.0899)
OKLCHoklch(46.81% 0.095 108.8)
XYZxyz(8.8086, 10.4731, 2.0093)
Luminance0.1047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5E0F #0F105F
analogous
#5F360F #5F5E0F #385F0F
triadic
#5F5E0F #0F5F5E #5E0F5F
tetradic
#5F5E0F #0F5F36 #0F105F #5F0F38
square
#5F5E0F #0F5F36 #0F105F #5F0F38
split-complementary
#5F5E0F #0F385F #360F5F
monochromatic
#1A1A04 #2A2A07 #5F5E0F #949217 #C9C720

Accessibility & contrast

On white

6.79
#5F5E0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#5F5E0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F5E0F
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5E0F#FFFFFF#000000##FFFFFF
##5F5E0F1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A00
Deuteranopia (green-blind)
#685C16
Tritanopia (blue-blind)
#665750
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5f5e0f;
/* rgb */ color: rgb(95, 94, 15);
/* oklch */ color: oklch(46.8% 0.095 108.8);
Tailwind
colors: {
  custom: {
    50: '#8f8b56',
    500: '#5f5e0f',
    950: '#000000',
  },
}
SCSS
$custom: #5f5e0f;
$custom-light: #8f8b56;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5e0f",
  "rgb": {
    "r": 95,
    "g": 94,
    "b": 15
  },
  "hsl": {
    "h": 59.25,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.46814,
    "c": 0.09498,
    "h": 108.8
  },
  "luminance": 0.10473
}

Semantic roles & 50–950 ramp

primary
#5F5E0F
secondary
#323398
accent
#3BEF38
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5F5E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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