#5F5718#5F5718

#5F5718 is a mid, moderate yellow. Relative luminance 0.093; OKLCH L 45.2% C 0.082 H 101.9°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#5F5718
RGBrgb(95, 87, 24)
HSLhsl(53, 60%, 23%)
HSVhsv(53, 75%, 37%)
CMYKcmyk(0%, 8.4%, 74.7%, 62.7%)
CIE-LABlab(36.59, -4.90, 35.98)
CIE-LCHlch(36.59, 36.31, 97.75°)
OKLaboklab(45.17% -0.017 0.0802)
OKLCHoklch(45.17% 0.082 101.9)
XYZxyz(8.2927, 9.3156, 2.2253)
Luminance0.0931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5718 #18205F
analogous
#5F3318 #5F5718 #435F18
triadic
#5F5718 #185F57 #57185F
tetradic
#5F5718 #185F33 #18205F #5F1843
square
#5F5718 #185F33 #18205F #5F1843
split-complementary
#5F5718 #18435F #33185F
monochromatic
#181606 #2E2A0C #5F5718 #908424 #C1B031

Accessibility & contrast

On white

7.33
#5F5718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#5F5718 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F5718
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5718#FFFFFF#000000##FFFFFF
##5F57181.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60540E
Deuteranopia (green-blind)
#62581C
Tritanopia (blue-blind)
#67504A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5f5718;
/* rgb */ color: rgb(95, 87, 24);
/* oklch */ color: oklch(45.2% 0.082 101.9);
Tailwind
colors: {
  custom: {
    50: '#8f8659',
    500: '#5f5718',
    950: '#000000',
  },
}
SCSS
$custom: #5f5718;
$custom-light: #8f8659;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5718",
  "rgb": {
    "r": 95,
    "g": 87,
    "b": 24
  },
  "hsl": {
    "h": 53.239,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45165,
    "c": 0.08201,
    "h": 101.9
  },
  "luminance": 0.09315
}

Semantic roles & 50–950 ramp

primary
#5F5718
secondary
#3D4795
accent
#57E345
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #5F5718

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

Preview Lab → · Contrast checker → · Palette generator →

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