#5D5C12#5D5C12

#5D5C12 is a mid, moderate yellow. Relative luminance 0.100; OKLCH L 46.1% C 0.092 H 108.7°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#5D5C12
RGBrgb(93, 92, 18)
HSLhsl(59, 68%, 22%)
HSVhsv(59, 81%, 36%)
CMYKcmyk(0%, 1.1%, 80.6%, 63.5%)
CIE-LABlab(37.89, -9.11, 39.60)
CIE-LCHlch(37.89, 40.63, 102.96°)
OKLaboklab(46.14% -0.0294 0.0867)
OKLCHoklch(46.14% 0.092 108.7)
XYZxyz(8.4509, 10.0254, 2.0621)
Luminance0.1003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5C12 #12135D
analogous
#5D3712 #5D5C12 #395D12
triadic
#5D5C12 #125D5C #5C125D
tetradic
#5D5C12 #125D37 #12135D #5D1239
square
#5D5C12 #125D37 #12135D #5D1239
split-complementary
#5D5C12 #12395D #37125D
monochromatic
#1A1905 #2A2908 #5D5C12 #908F1C #C4C126

Accessibility & contrast

On white

6.99
#5D5C12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#5D5C12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5C12
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5C12#FFFFFF#000000##FFFFFF
##5D5C121.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645803
Deuteranopia (green-blind)
#655A18
Tritanopia (blue-blind)
#64554E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5d5c12;
/* rgb */ color: rgb(93, 92, 18);
/* oklch */ color: oklch(46.1% 0.092 108.7);
Tailwind
colors: {
  custom: {
    50: '#8e8957',
    500: '#5d5c12',
    950: '#000000',
  },
}
SCSS
$custom: #5d5c12;
$custom-light: #8e8957;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5c12",
  "rgb": {
    "r": 93,
    "g": 92,
    "b": 18
  },
  "hsl": {
    "h": 59.2,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.46143,
    "c": 0.09158,
    "h": 108.7
  },
  "luminance": 0.10025
}

Semantic roles & 50–950 ramp

primary
#5D5C12
secondary
#353795
accent
#40EA3D
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0B03
muted
#7D7C78

Preview Lab

Preview with #5D5C12

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

Preview Lab → · Contrast checker → · Palette generator →

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