#5C5915#5C5915

#5C5915 is a mid, moderate yellow. Relative luminance 0.095; OKLCH L 45.3% C 0.087 H 106.8°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#5C5915
RGBrgb(92, 89, 21)
HSLhsl(57, 63%, 22%)
HSVhsv(57, 77%, 36%)
CMYKcmyk(0%, 3.3%, 77.2%, 63.9%)
CIE-LABlab(36.88, -7.71, 37.45)
CIE-LCHlch(36.88, 38.24, 101.64°)
OKLaboklab(45.32% -0.0251 0.0828)
OKLCHoklch(45.32% 0.087 106.8)
XYZxyz(8.1217, 9.4745, 2.1103)
Luminance0.0947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5915 #15185C
analogous
#5C3615 #5C5915 #3C5C15
triadic
#5C5915 #155C59 #59155C
tetradic
#5C5915 #155C36 #15185C #5C153C
square
#5C5915 #155C36 #15185C #5C153C
split-complementary
#5C5915 #153C5C #36155C
monochromatic
#191806 #2A290A #5C5915 #8E8920 #C0B92C

Accessibility & contrast

On white

7.25
#5C5915 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#5C5915 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C5915
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5915#FFFFFF#000000##FFFFFF
##5C59151.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615509
Deuteranopia (green-blind)
#63581A
Tritanopia (blue-blind)
#63534C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5c5915;
/* rgb */ color: rgb(92, 89, 21);
/* oklch */ color: oklch(45.3% 0.087 106.8);
Tailwind
colors: {
  custom: {
    50: '#8d8758',
    500: '#5c5915',
    950: '#000000',
  },
}
SCSS
$custom: #5c5915;
$custom-light: #8d8758;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5915",
  "rgb": {
    "r": 92,
    "g": 89,
    "b": 21
  },
  "hsl": {
    "h": 57.465,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.45323,
    "c": 0.08656,
    "h": 106.8
  },
  "luminance": 0.09474
}

Semantic roles & 50–950 ramp

primary
#5C5915
secondary
#393D93
accent
#49E642
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5C5915

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

Preview Lab → · Contrast checker → · Palette generator →

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