#5C5C0F#5C5C0F

#5C5C0F is a mid, moderate yellow. Relative luminance 0.100; OKLCH L 46.0% C 0.094 H 109.6°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#5C5C0F
RGBrgb(92, 92, 15)
HSLhsl(60, 72%, 21%)
HSVhsv(60, 84%, 36%)
CMYKcmyk(0%, 0%, 83.7%, 63.9%)
CIE-LABlab(37.78, -9.73, 40.52)
CIE-LCHlch(37.78, 41.67, 103.51°)
OKLaboklab(46.03% -0.0313 0.0881)
OKLCHoklch(46.03% 0.094 109.6)
XYZxyz(8.3273, 9.9643, 1.9365)
Luminance0.0996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5C0F #0F0F5C
analogous
#5C350F #5C5C0F #355C0F
triadic
#5C5C0F #0F5C5C #5C0F5C
tetradic
#5C5C0F #0F5C35 #0F0F5C #5C0F35
square
#5C5C0F #0F5C35 #0F0F5C #5C0F35
split-complementary
#5C5C0F #0F355C #350F5C
monochromatic
#1A1A04 #272706 #5C5C0F #919118 #C5C520

Accessibility & contrast

On white

7.02
#5C5C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#5C5C0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C5C0F
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5C0F#FFFFFF#000000##FFFFFF
##5C5C0F1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645800
Deuteranopia (green-blind)
#655A16
Tritanopia (blue-blind)
#63554E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5c5c0f;
/* rgb */ color: rgb(92, 92, 15);
/* oklch */ color: oklch(46.0% 0.094 109.6);
Tailwind
colors: {
  custom: {
    50: '#8d8955',
    500: '#5c5c0f',
    950: '#000000',
  },
}
SCSS
$custom: #5c5c0f;
$custom-light: #8d8955;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5c0f",
  "rgb": {
    "r": 92,
    "g": 92,
    "b": 15
  },
  "hsl": {
    "h": 60,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.46027,
    "c": 0.09351,
    "h": 109.6
  },
  "luminance": 0.09964
}

Semantic roles & 50–950 ramp

primary
#5C5C0F
secondary
#313195
accent
#39EF39
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0B03
muted
#7D7C78

Preview Lab

Preview with #5C5C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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