#5C5F0D#5C5F0D

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

Color values

HEX#5C5F0D
RGBrgb(92, 95, 13)
HSLhsl(62, 76%, 21%)
HSVhsv(62, 86%, 37%)
CMYKcmyk(3.2%, 0%, 86.3%, 62.7%)
CIE-LABlab(38.71, -11.52, 41.96)
CIE-LCHlch(38.71, 43.52, 105.35°)
OKLaboklab(46.77% -0.0365 0.0908)
OKLCHoklch(46.77% 0.098 111.9)
XYZxyz(8.5788, 10.4890, 1.9534)
Luminance0.1049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5F0D #100D5F
analogous
#5F390D #5C5F0D #335F0D
triadic
#5C5F0D #0D5C5F #5F0D5C
tetradic
#5C5F0D #0D5F39 #100D5F #5F0D33
square
#5C5F0D #0D5F39 #100D5F #5F0D33
split-complementary
#5C5F0D #0D335F #390D5F
monochromatic
#1A1B04 #282906 #5C5F0D #909514 #C4CB1C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C5F0D#FFFFFF#000000##FFFFFF
##5C5F0D1.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)
#675C15
Tritanopia (blue-blind)
#635850
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5c5f0d;
/* rgb */ color: rgb(92, 95, 13);
/* oklch */ color: oklch(46.8% 0.098 111.9);
Tailwind
colors: {
  custom: {
    50: '#8d8c55',
    500: '#5c5f0d',
    950: '#000000',
  },
}
SCSS
$custom: #5c5f0d;
$custom-light: #8d8c55;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5f0d",
  "rgb": {
    "r": 92,
    "g": 95,
    "b": 13
  },
  "hsl": {
    "h": 62.195,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.46766,
    "c": 0.09786,
    "h": 111.9
  },
  "luminance": 0.10489
}

Semantic roles & 50–950 ramp

primary
#5C5F0D
secondary
#332F99
accent
#35F33C
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0C03
muted
#7D7D78

Preview Lab

Preview with #5C5F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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