#5F5116#5F5116

#5F5116 is a dark, moderate yellow. Relative luminance 0.084; OKLCH L 43.7% C 0.078 H 95.4°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#5F5116
RGBrgb(95, 81, 22)
HSLhsl(48, 62%, 23%)
HSVhsv(48, 77%, 37%)
CMYKcmyk(0%, 14.7%, 76.8%, 62.7%)
CIE-LABlab(34.75, -1.42, 35.05)
CIE-LCHlch(34.75, 35.08, 92.32°)
OKLaboklab(43.71% -0.0073 0.0779)
OKLCHoklch(43.71% 0.078 95.4)
XYZxyz(7.8070, 8.3761, 1.9644)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5116 #16245F
analogous
#5F2C16 #5F5116 #485F16
triadic
#5F5116 #165F51 #51165F
tetradic
#5F5116 #165F2C #16245F #5F1648
square
#5F5116 #165F2C #16245F #5F1648
split-complementary
#5F5116 #16485F #2C165F
monochromatic
#191506 #2D270A #5F5116 #917B22 #C2A62D

Accessibility & contrast

On white

7.85
#5F5116 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#5F5116 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F5116
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5116#FFFFFF#000000##FFFFFF
##5F51161.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F0D
Deuteranopia (green-blind)
#5E5419
Tritanopia (blue-blind)
#674A45
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5f5116;
/* rgb */ color: rgb(95, 81, 22);
/* oklch */ color: oklch(43.7% 0.078 95.4);
Tailwind
colors: {
  custom: {
    50: '#8f8157',
    500: '#5f5116',
    950: '#000000',
  },
}
SCSS
$custom: #5f5116;
$custom-light: #8f8157;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5116",
  "rgb": {
    "r": 95,
    "g": 81,
    "b": 22
  },
  "hsl": {
    "h": 48.493,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43708,
    "c": 0.0782,
    "h": 95.4
  },
  "luminance": 0.08376
}

Semantic roles & 50–950 ramp

primary
#5F5116
secondary
#3B4C96
accent
#62E542
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5F5116

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

Preview Lab → · Contrast checker → · Palette generator →

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