#5F5711#5F5711

#5F5711 is a mid, moderate yellow. Relative luminance 0.093; OKLCH L 45.1% C 0.087 H 102.5°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#5F5711
RGBrgb(95, 87, 17)
HSLhsl(54, 70%, 22%)
HSVhsv(54, 82%, 37%)
CMYKcmyk(0%, 8.4%, 82.1%, 62.7%)
CIE-LABlab(36.54, -5.26, 38.80)
CIE-LCHlch(36.54, 39.15, 97.72°)
OKLaboklab(45.11% -0.0188 0.0847)
OKLCHoklch(45.11% 0.087 102.5)
XYZxyz(8.2291, 9.2901, 1.8899)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5711 #11195F
analogous
#5F3011 #5F5711 #405F11
triadic
#5F5711 #115F57 #57115F
tetradic
#5F5711 #115F30 #11195F #5F1140
square
#5F5711 #115F30 #11195F #5F1140
split-complementary
#5F5711 #11405F #30115F
monochromatic
#1A1805 #2B2708 #5F5711 #93871A #C7B624

Accessibility & contrast

On white

7.35
#5F5711 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F5711
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5711#FFFFFF#000000##FFFFFF
##5F57111.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605403
Deuteranopia (green-blind)
#625716
Tritanopia (blue-blind)
#67504A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5f5711;
/* rgb */ color: rgb(95, 87, 17);
/* oklch */ color: oklch(45.1% 0.087 102.5);
Tailwind
colors: {
  custom: {
    50: '#8f8656',
    500: '#5f5711',
    950: '#000000',
  },
}
SCSS
$custom: #5f5711;
$custom-light: #8f8656;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5711",
  "rgb": {
    "r": 95,
    "g": 87,
    "b": 17
  },
  "hsl": {
    "h": 53.846,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.45111,
    "c": 0.08678,
    "h": 102.5
  },
  "luminance": 0.0929
}

Semantic roles & 50–950 ramp

primary
#5F5711
secondary
#343E98
accent
#4EEC3B
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5F5711

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

Preview Lab → · Contrast checker → · Palette generator →

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