#5C510F#5C510F

#5C510F is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.3% C 0.083 H 99.2°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#5C510F
RGBrgb(92, 81, 15)
HSLhsl(51, 72%, 21%)
HSVhsv(51, 84%, 36%)
CMYKcmyk(0%, 12%, 83.7%, 63.9%)
CIE-LABlab(34.39, -3.27, 37.46)
CIE-LCHlch(34.39, 37.61, 94.99°)
OKLaboklab(43.33% -0.0132 0.0816)
OKLCHoklch(43.33% 0.083 99.2)
XYZxyz(7.4427, 8.1950, 1.6416)
Luminance0.0819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C510F #0F1A5C
analogous
#5C2A0F #5C510F #405C0F
triadic
#5C510F #0F5C51 #510F5C
tetradic
#5C510F #0F5C2A #0F1A5C #5C0F40
square
#5C510F #0F5C2A #0F1A5C #5C0F40
split-complementary
#5C510F #0F405C #2A0F5C
monochromatic
#1A1704 #272306 #5C510F #917F18 #C5AE20

Accessibility & contrast

On white

7.96
#5C510F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5C510F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C510F
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C510F#FFFFFF#000000##FFFFFF
##5C510F1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F02
Deuteranopia (green-blind)
#5D5314
Tritanopia (blue-blind)
#644A45
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5c510f;
/* rgb */ color: rgb(92, 81, 15);
/* oklch */ color: oklch(43.3% 0.083 99.2);
Tailwind
colors: {
  custom: {
    50: '#8d8154',
    500: '#5c510f',
    950: '#000000',
  },
}
SCSS
$custom: #5c510f;
$custom-light: #8d8154;
$custom-dark: #000000;
JSON
{
  "hex": "#5c510f",
  "rgb": {
    "r": 92,
    "g": 81,
    "b": 15
  },
  "hsl": {
    "h": 51.429,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43326,
    "c": 0.08264,
    "h": 99.2
  },
  "luminance": 0.08195
}

Semantic roles & 50–950 ramp

primary
#5C510F
secondary
#314095
accent
#53EF39
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0A03
muted
#7D7C78

Preview Lab

Preview with #5C510F

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

Preview Lab → · Contrast checker → · Palette generator →

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