#5C5F0F#5C5F0F

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

Color values

HEX#5C5F0F
RGBrgb(92, 95, 15)
HSLhsl(62, 73%, 22%)
HSVhsv(62, 84%, 37%)
CMYKcmyk(3.2%, 0%, 84.2%, 62.7%)
CIE-LABlab(38.72, -11.44, 41.35)
CIE-LCHlch(38.72, 42.90, 105.46°)
OKLaboklab(46.78% -0.0361 0.0899)
OKLCHoklch(46.78% 0.097 111.9)
XYZxyz(8.5924, 10.4944, 2.0249)
Luminance0.1049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5F0F #120F5F
analogous
#5F3A0F #5C5F0F #345F0F
triadic
#5C5F0F #0F5C5F #5F0F5C
tetradic
#5C5F0F #0F5F3A #120F5F #5F0F34
square
#5C5F0F #0F5F3A #120F5F #5F0F34
split-complementary
#5C5F0F #0F345F #3A0F5F
monochromatic
#1A1A04 #292A07 #5C5F0F #8F9417 #C2C920

Accessibility & contrast

On white

6.78
#5C5F0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#5C5F0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5F0F
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5F0F#FFFFFF#000000##FFFFFF
##5C5F0F1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c5f0f;
/* rgb */ color: rgb(92, 95, 15);
/* oklch */ color: oklch(46.8% 0.097 111.9);
Tailwind
colors: {
  custom: {
    50: '#8d8c56',
    500: '#5c5f0f',
    950: '#000000',
  },
}
SCSS
$custom: #5c5f0f;
$custom-light: #8d8c56;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5f0f",
  "rgb": {
    "r": 92,
    "g": 95,
    "b": 15
  },
  "hsl": {
    "h": 62.25,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.46777,
    "c": 0.09687,
    "h": 111.9
  },
  "luminance": 0.10494
}

Semantic roles & 50–950 ramp

primary
#5C5F0F
secondary
#353298
accent
#38EF3F
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0C03
muted
#7D7D78

Preview Lab

Preview with #5C5F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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