#5C5F12#5C5F12

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

Color values

HEX#5C5F12
RGBrgb(92, 95, 18)
HSLhsl(62, 68%, 22%)
HSVhsv(62, 81%, 37%)
CMYKcmyk(3.2%, 0%, 81.1%, 62.7%)
CIE-LABlab(38.73, -11.31, 40.34)
CIE-LCHlch(38.73, 41.90, 105.66°)
OKLaboklab(46.79% -0.0354 0.0884)
OKLCHoklch(46.79% 0.095 111.9)
XYZxyz(8.6153, 10.5036, 2.1457)
Luminance0.1050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5F12 #15125F
analogous
#5F3C12 #5C5F12 #355F12
triadic
#5C5F12 #125C5F #5F125C
tetradic
#5C5F12 #125F3C #15125F #5F1235
square
#5C5F12 #125F3C #15125F #5F1235
split-complementary
#5C5F12 #12355F #3C125F
monochromatic
#191A05 #2A2C08 #5C5F12 #8E921C #C0C625

Accessibility & contrast

On white

6.77
#5C5F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5C5F12
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5F12#FFFFFF#000000##FFFFFF
##5C5F121.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A01
Deuteranopia (green-blind)
#675C19
Tritanopia (blue-blind)
#635951
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5c5f12;
/* rgb */ color: rgb(92, 95, 18);
/* oklch */ color: oklch(46.8% 0.095 111.9);
Tailwind
colors: {
  custom: {
    50: '#8d8c57',
    500: '#5c5f12',
    950: '#000000',
  },
}
SCSS
$custom: #5c5f12;
$custom-light: #8d8c57;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5f12",
  "rgb": {
    "r": 92,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 62.338,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.46795,
    "c": 0.0952,
    "h": 111.9
  },
  "luminance": 0.10503
}

Semantic roles & 50–950 ramp

primary
#5C5F12
secondary
#393697
accent
#3DEB44
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #5C5F12

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

Preview Lab → · Contrast checker → · Palette generator →

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