#5F5C0F#5F5C0F

#5F5C0F is a mid, moderate yellow. Relative luminance 0.101; OKLCH L 46.3% C 0.093 H 107.2°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#5F5C0F
RGBrgb(95, 92, 15)
HSLhsl(58, 73%, 22%)
HSVhsv(58, 84%, 37%)
CMYKcmyk(0%, 3.2%, 84.2%, 62.7%)
CIE-LABlab(38.06, -8.26, 40.87)
CIE-LCHlch(38.06, 41.70, 101.43°)
OKLaboklab(46.32% -0.0274 0.0887)
OKLCHoklch(46.32% 0.093 107.2)
XYZxyz(8.6330, 10.1220, 1.9508)
Luminance0.1012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5C0F #0F125F
analogous
#5F340F #5F5C0F #3A5F0F
triadic
#5F5C0F #0F5F5C #5C0F5F
tetradic
#5F5C0F #0F5F34 #0F125F #5F0F3A
square
#5F5C0F #0F5F34 #0F125F #5F0F3A
split-complementary
#5F5C0F #0F3A5F #340F5F
monochromatic
#1A1A04 #2A2907 #5F5C0F #948F17 #C9C220

Accessibility & contrast

On white

6.94
#5F5C0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#5F5C0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F5C0F
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5C0F#FFFFFF#000000##FFFFFF
##5F5C0F1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655800
Deuteranopia (green-blind)
#665B16
Tritanopia (blue-blind)
#67554E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5f5c0f;
/* rgb */ color: rgb(95, 92, 15);
/* oklch */ color: oklch(46.3% 0.093 107.2);
Tailwind
colors: {
  custom: {
    50: '#8f8956',
    500: '#5f5c0f',
    950: '#000000',
  },
}
SCSS
$custom: #5f5c0f;
$custom-light: #8f8956;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5c0f",
  "rgb": {
    "r": 95,
    "g": 92,
    "b": 15
  },
  "hsl": {
    "h": 57.75,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.46321,
    "c": 0.09288,
    "h": 107.2
  },
  "luminance": 0.10122
}

Semantic roles & 50–950 ramp

primary
#5F5C0F
secondary
#323598
accent
#3FEF38
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5F5C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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