#5C5914#5C5914

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

Color values

HEX#5C5914
RGBrgb(92, 89, 20)
HSLhsl(58, 64%, 22%)
HSVhsv(58, 78%, 36%)
CMYKcmyk(0%, 3.3%, 78.3%, 63.9%)
CIE-LABlab(36.88, -7.77, 37.85)
CIE-LCHlch(36.88, 38.64, 101.59°)
OKLaboklab(45.32% -0.0253 0.0835)
OKLCHoklch(45.32% 0.087 106.9)
XYZxyz(8.1126, 9.4709, 2.0624)
Luminance0.0947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5914 #14175C
analogous
#5C3514 #5C5914 #3B5C14
triadic
#5C5914 #145C59 #59145C
tetradic
#5C5914 #145C35 #14175C #5C143B
square
#5C5914 #145C35 #14175C #5C143B
split-complementary
#5C5914 #143B5C #35145C
monochromatic
#191805 #2A2809 #5C5914 #8E8A1F #C1BA2A

Accessibility & contrast

On white

7.26
#5C5914 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C5914
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5914#FFFFFF#000000##FFFFFF
##5C59141.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615507
Deuteranopia (green-blind)
#635819
Tritanopia (blue-blind)
#63534C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5c5914;
/* rgb */ color: rgb(92, 89, 20);
/* oklch */ color: oklch(45.3% 0.087 106.9);
Tailwind
colors: {
  custom: {
    50: '#8d8757',
    500: '#5c5914',
    950: '#000000',
  },
}
SCSS
$custom: #5c5914;
$custom-light: #8d8757;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5914",
  "rgb": {
    "r": 92,
    "g": 89,
    "b": 20
  },
  "hsl": {
    "h": 57.5,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.45316,
    "c": 0.08725,
    "h": 106.9
  },
  "luminance": 0.09471
}

Semantic roles & 50–950 ramp

primary
#5C5914
secondary
#383C94
accent
#47E741
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5C5914

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

Preview Lab → · Contrast checker → · Palette generator →

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