#5C5D12#5C5D12

#5C5D12 is a mid, moderate yellow. Relative luminance 0.101; OKLCH L 46.3% C 0.093 H 110.3°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#5C5D12
RGBrgb(92, 93, 18)
HSLhsl(61, 68%, 22%)
HSVhsv(61, 81%, 36%)
CMYKcmyk(1.1%, 0%, 80.6%, 63.5%)
CIE-LABlab(38.11, -10.17, 39.77)
CIE-LCHlch(38.11, 41.05, 104.35°)
OKLaboklab(46.29% -0.0323 0.0871)
OKLCHoklch(46.29% 0.093 110.3)
XYZxyz(8.4375, 10.1479, 2.0864)
Luminance0.1015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5D12 #13125D
analogous
#5D3912 #5C5D12 #375D12
triadic
#5C5D12 #125C5D #5D125C
tetradic
#5C5D12 #125D39 #13125D #5D1237
square
#5C5D12 #125D39 #13125D #5D1237
split-complementary
#5C5D12 #12375D #39125D
monochromatic
#191A05 #292A08 #5C5D12 #8F901C #C1C426

Accessibility & contrast

On white

6.93
#5C5D12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#5C5D12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5D12
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5D12#FFFFFF#000000##FFFFFF
##5C5D121.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655902
Deuteranopia (green-blind)
#665B18
Tritanopia (blue-blind)
#63574F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5c5d12;
/* rgb */ color: rgb(92, 93, 18);
/* oklch */ color: oklch(46.3% 0.093 110.3);
Tailwind
colors: {
  custom: {
    50: '#8d8a57',
    500: '#5c5d12',
    950: '#000000',
  },
}
SCSS
$custom: #5c5d12;
$custom-light: #8d8a57;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5d12",
  "rgb": {
    "r": 92,
    "g": 93,
    "b": 18
  },
  "hsl": {
    "h": 60.8,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.46295,
    "c": 0.09292,
    "h": 110.3
  },
  "luminance": 0.10148
}

Semantic roles & 50–950 ramp

primary
#5C5D12
secondary
#373595
accent
#3DEA40
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5C5D12

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

Preview Lab → · Contrast checker → · Palette generator →

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