#5C5A0F#5C5A0F

#5C5A0F is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.5% C 0.091 H 107.9°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#5C5A0F
RGBrgb(92, 90, 15)
HSLhsl(58, 72%, 21%)
HSVhsv(58, 84%, 36%)
CMYKcmyk(0%, 2.2%, 83.7%, 63.9%)
CIE-LABlab(37.16, -8.58, 39.96)
CIE-LCHlch(37.16, 40.87, 102.12°)
OKLaboklab(45.53% -0.0281 0.0869)
OKLCHoklch(45.53% 0.091 107.9)
XYZxyz(8.1564, 9.6224, 1.8795)
Luminance0.0962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5A0F #0F115C
analogous
#5C330F #5C5A0F #375C0F
triadic
#5C5A0F #0F5C5A #5A0F5C
tetradic
#5C5A0F #0F5C33 #0F115C #5C0F37
square
#5C5A0F #0F5C33 #0F115C #5C0F37
split-complementary
#5C5A0F #0F375C #330F5C
monochromatic
#1A1A04 #272706 #5C5A0F #918D18 #C5C120

Accessibility & contrast

On white

7.18
#5C5A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#5C5A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C5A0F
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5A0F#FFFFFF#000000##FFFFFF
##5C5A0F1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625600
Deuteranopia (green-blind)
#645915
Tritanopia (blue-blind)
#63534C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5c5a0f;
/* rgb */ color: rgb(92, 90, 15);
/* oklch */ color: oklch(45.5% 0.091 107.9);
Tailwind
colors: {
  custom: {
    50: '#8d8855',
    500: '#5c5a0f',
    950: '#000000',
  },
}
SCSS
$custom: #5c5a0f;
$custom-light: #8d8855;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5a0f",
  "rgb": {
    "r": 92,
    "g": 90,
    "b": 15
  },
  "hsl": {
    "h": 58.442,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.4553,
    "c": 0.09136,
    "h": 107.9
  },
  "luminance": 0.09622
}

Semantic roles & 50–950 ramp

primary
#5C5A0F
secondary
#313495
accent
#3EEF39
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0D0B03
muted
#7D7C78

Preview Lab

Preview with #5C5A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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