#5F5716#5F5716

#5F5716 is a mid, moderate yellow. Relative luminance 0.093; OKLCH L 45.1% C 0.083 H 102.1°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#5F5716
RGBrgb(95, 87, 22)
HSLhsl(53, 62%, 23%)
HSVhsv(53, 77%, 37%)
CMYKcmyk(0%, 8.4%, 76.8%, 62.7%)
CIE-LABlab(36.57, -5.01, 36.84)
CIE-LCHlch(36.57, 37.17, 97.75°)
OKLaboklab(45.15% -0.0175 0.0816)
OKLCHoklch(45.15% 0.083 102.1)
XYZxyz(8.2727, 9.3076, 2.1197)
Luminance0.0931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5716 #161E5F
analogous
#5F3316 #5F5716 #425F16
triadic
#5F5716 #165F57 #57165F
tetradic
#5F5716 #165F33 #161E5F #5F1642
square
#5F5716 #165F33 #161E5F #5F1642
split-complementary
#5F5716 #16425F #33165F
monochromatic
#191706 #2D290A #5F5716 #918522 #C2B22D

Accessibility & contrast

On white

7.34
#5F5716 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#5F5716 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F5716
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5716#FFFFFF#000000##FFFFFF
##5F57161.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60540B
Deuteranopia (green-blind)
#62581A
Tritanopia (blue-blind)
#67504A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5f5716;
/* rgb */ color: rgb(95, 87, 22);
/* oklch */ color: oklch(45.1% 0.083 102.1);
Tailwind
colors: {
  custom: {
    50: '#8f8658',
    500: '#5f5716',
    950: '#000000',
  },
}
SCSS
$custom: #5f5716;
$custom-light: #8f8658;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5716",
  "rgb": {
    "r": 95,
    "g": 87,
    "b": 22
  },
  "hsl": {
    "h": 53.425,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45148,
    "c": 0.08349,
    "h": 102.1
  },
  "luminance": 0.09307
}

Semantic roles & 50–950 ramp

primary
#5F5716
secondary
#3B4596
accent
#54E542
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5F5716

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

Preview Lab → · Contrast checker → · Palette generator →

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