#5F5911#5F5911

#5F5911 is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.6% C 0.089 H 104.4°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#5F5911
RGBrgb(95, 89, 17)
HSLhsl(55, 70%, 22%)
HSVhsv(55, 82%, 37%)
CMYKcmyk(0%, 6.3%, 82.1%, 62.7%)
CIE-LABlab(37.15, -6.43, 39.36)
CIE-LCHlch(37.15, 39.88, 99.28°)
OKLaboklab(45.6% -0.0221 0.0859)
OKLCHoklch(45.6% 0.089 104.4)
XYZxyz(8.3932, 9.6185, 1.9446)
Luminance0.0962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5911 #11175F
analogous
#5F3211 #5F5911 #3E5F11
triadic
#5F5911 #115F59 #59115F
tetradic
#5F5911 #115F32 #11175F #5F113E
square
#5F5911 #115F32 #11175F #5F113E
split-complementary
#5F5911 #113E5F #32115F
monochromatic
#1A1805 #2B2808 #5F5911 #938A1A #C7BA24

Accessibility & contrast

On white

7.18
#5F5911 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#5F5911 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F5911
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5911#FFFFFF#000000##FFFFFF
##5F59111.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625602
Deuteranopia (green-blind)
#645917
Tritanopia (blue-blind)
#67524B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5f5911;
/* rgb */ color: rgb(95, 89, 17);
/* oklch */ color: oklch(45.6% 0.089 104.4);
Tailwind
colors: {
  custom: {
    50: '#8f8756',
    500: '#5f5911',
    950: '#000000',
  },
}
SCSS
$custom: #5f5911;
$custom-light: #8f8756;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5911",
  "rgb": {
    "r": 95,
    "g": 89,
    "b": 17
  },
  "hsl": {
    "h": 55.385,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.45598,
    "c": 0.08872,
    "h": 104.4
  },
  "luminance": 0.09618
}

Semantic roles & 50–950 ramp

primary
#5F5911
secondary
#343C98
accent
#49EC3B
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5F5911

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

Preview Lab → · Contrast checker → · Palette generator →

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