#5F5811#5F5811

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

Color values

HEX#5F5811
RGBrgb(95, 88, 17)
HSLhsl(55, 70%, 22%)
HSVhsv(55, 82%, 37%)
CMYKcmyk(0%, 7.4%, 82.1%, 62.7%)
CIE-LABlab(36.84, -5.85, 39.08)
CIE-LCHlch(36.84, 39.51, 98.51°)
OKLaboklab(45.35% -0.0204 0.0853)
OKLCHoklch(45.35% 0.088 103.5)
XYZxyz(8.3106, 9.4532, 1.9171)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5811 #11185F
analogous
#5F3111 #5F5811 #3F5F11
triadic
#5F5811 #115F58 #58115F
tetradic
#5F5811 #115F31 #11185F #5F113F
square
#5F5811 #115F31 #11185F #5F113F
split-complementary
#5F5811 #113F5F #31115F
monochromatic
#1A1805 #2B2808 #5F5811 #93881A #C7B824

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F5811#FFFFFF#000000##FFFFFF
##5F58111.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)
#615502
Deuteranopia (green-blind)
#635816
Tritanopia (blue-blind)
#67514B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5f5811;
/* rgb */ color: rgb(95, 88, 17);
/* oklch */ color: oklch(45.4% 0.088 103.5);
Tailwind
colors: {
  custom: {
    50: '#8f8656',
    500: '#5f5811',
    950: '#000000',
  },
}
SCSS
$custom: #5f5811;
$custom-light: #8f8656;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5811",
  "rgb": {
    "r": 95,
    "g": 88,
    "b": 17
  },
  "hsl": {
    "h": 54.615,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.45354,
    "c": 0.08774,
    "h": 103.5
  },
  "luminance": 0.09453
}

Semantic roles & 50–950 ramp

primary
#5F5811
secondary
#343D98
accent
#4BEC3B
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5F5811

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

Preview Lab → · Contrast checker → · Palette generator →

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