#5F581C#5F581C

#5F581C is a mid, moderate yellow. Relative luminance 0.095; OKLCH L 45.4% C 0.080 H 102.6°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#5F581C
RGBrgb(95, 88, 28)
HSLhsl(54, 54%, 24%)
HSVhsv(54, 71%, 37%)
CMYKcmyk(0%, 7.4%, 70.5%, 62.7%)
CIE-LABlab(36.92, -5.23, 34.49)
CIE-LCHlch(36.92, 34.89, 98.63°)
OKLaboklab(45.44% -0.0174 0.0779)
OKLCHoklch(45.44% 0.08 102.6)
XYZxyz(8.4190, 9.4965, 2.4879)
Luminance0.0950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F581C #1C235F
analogous
#5F371C #5F581C #455F1C
triadic
#5F581C #1C5F58 #581C5F
tetradic
#5F581C #1C5F37 #1C235F #5F1C45
square
#5F581C #1C5F37 #1C235F #5F1C45
split-complementary
#5F581C #1C455F #371C5F
monochromatic
#181607 #302C0E #5F581C #8E842A #BEB038

Accessibility & contrast

On white

7.24
#5F581C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#5F581C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F581C
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F581C#FFFFFF#000000##FFFFFF
##5F581C1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605514
Deuteranopia (green-blind)
#625820
Tritanopia (blue-blind)
#66524C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5f581c;
/* rgb */ color: rgb(95, 88, 28);
/* oklch */ color: oklch(45.4% 0.080 102.6);
Tailwind
colors: {
  custom: {
    50: '#8f865c',
    500: '#5f581c',
    950: '#000000',
  },
}
SCSS
$custom: #5f581c;
$custom-light: #8f865c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f581c",
  "rgb": {
    "r": 95,
    "g": 88,
    "b": 28
  },
  "hsl": {
    "h": 53.731,
    "s": 54.472,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45444,
    "c": 0.07978,
    "h": 102.6
  },
  "luminance": 0.09496
}

Semantic roles & 50–950 ramp

primary
#5F581C
secondary
#424B94
accent
#59DE4A
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #5F581C

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

Preview Lab → · Contrast checker → · Palette generator →

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