#5F5515#5F5515

#5F5515 is a dark, moderate yellow. Relative luminance 0.090; OKLCH L 44.7% C 0.082 H 100.1°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#5F5515
RGBrgb(95, 85, 21)
HSLhsl(52, 64%, 23%)
HSVhsv(52, 78%, 37%)
CMYKcmyk(0%, 10.5%, 77.9%, 62.7%)
CIE-LABlab(35.95, -3.88, 36.66)
CIE-LCHlch(35.95, 36.87, 96.04°)
OKLaboklab(44.66% -0.0144 0.0811)
OKLCHoklch(44.66% 0.082 100.1)
XYZxyz(8.1036, 8.9844, 2.0166)
Luminance0.0898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5515 #151F5F
analogous
#5F3015 #5F5515 #445F15
triadic
#5F5515 #155F55 #55155F
tetradic
#5F5515 #155F30 #151F5F #5F1544
square
#5F5515 #155F30 #151F5F #5F1544
split-complementary
#5F5515 #15445F #30155F
monochromatic
#191606 #2D280A #5F5515 #918220 #C3AF2B

Accessibility & contrast

On white

7.51
#5F5515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#5F5515 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F5515
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5515#FFFFFF#000000##FFFFFF
##5F55151.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E520A
Deuteranopia (green-blind)
#615619
Tritanopia (blue-blind)
#674E48
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5f5515;
/* rgb */ color: rgb(95, 85, 21);
/* oklch */ color: oklch(44.7% 0.082 100.1);
Tailwind
colors: {
  custom: {
    50: '#8f8457',
    500: '#5f5515',
    950: '#000000',
  },
}
SCSS
$custom: #5f5515;
$custom-light: #8f8457;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5515",
  "rgb": {
    "r": 95,
    "g": 85,
    "b": 21
  },
  "hsl": {
    "h": 51.892,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44657,
    "c": 0.08233,
    "h": 100.1
  },
  "luminance": 0.08984
}

Semantic roles & 50–950 ramp

primary
#5F5515
secondary
#3A4696
accent
#57E741
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5F5515

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

Preview Lab → · Contrast checker → · Palette generator →

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