#5F5615#5F5615

#5F5615 is a dark, moderate yellow. Relative luminance 0.091; OKLCH L 44.9% C 0.083 H 101.2°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#5F5615
RGBrgb(95, 86, 21)
HSLhsl(53, 64%, 23%)
HSVhsv(53, 78%, 37%)
CMYKcmyk(0%, 9.5%, 77.9%, 62.7%)
CIE-LABlab(36.26, -4.47, 36.95)
CIE-LCHlch(36.26, 37.22, 96.90°)
OKLaboklab(44.9% -0.0161 0.0817)
OKLCHoklch(44.9% 0.083 101.2)
XYZxyz(8.1828, 9.1430, 2.0431)
Luminance0.0914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5615 #151E5F
analogous
#5F3115 #5F5615 #435F15
triadic
#5F5615 #155F56 #56155F
tetradic
#5F5615 #155F31 #151E5F #5F1543
square
#5F5615 #155F31 #151E5F #5F1543
split-complementary
#5F5615 #15435F #31155F
monochromatic
#191706 #2D290A #5F5615 #918320 #C3B12B

Accessibility & contrast

On white

7.42
#5F5615 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#5F5615 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F5615
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5615#FFFFFF#000000##FFFFFF
##5F56151.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F530A
Deuteranopia (green-blind)
#615719
Tritanopia (blue-blind)
#674F49
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5f5615;
/* rgb */ color: rgb(95, 86, 21);
/* oklch */ color: oklch(44.9% 0.083 101.2);
Tailwind
colors: {
  custom: {
    50: '#8f8558',
    500: '#5f5615',
    950: '#000000',
  },
}
SCSS
$custom: #5f5615;
$custom-light: #8f8558;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5615",
  "rgb": {
    "r": 95,
    "g": 86,
    "b": 21
  },
  "hsl": {
    "h": 52.703,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44898,
    "c": 0.08325,
    "h": 101.2
  },
  "luminance": 0.09143
}

Semantic roles & 50–950 ramp

primary
#5F5615
secondary
#3A4596
accent
#55E741
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5F5615

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

Preview Lab → · Contrast checker → · Palette generator →

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