#5F5715#5F5715

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

Color values

HEX#5F5715
RGBrgb(95, 87, 21)
HSLhsl(54, 64%, 23%)
HSVhsv(54, 78%, 37%)
CMYKcmyk(0%, 8.4%, 77.9%, 62.7%)
CIE-LABlab(36.56, -5.06, 37.25)
CIE-LCHlch(36.56, 37.59, 97.74°)
OKLaboklab(45.14% -0.0178 0.0823)
OKLCHoklch(45.14% 0.084 102.2)
XYZxyz(8.2632, 9.3038, 2.0699)
Luminance0.0930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5715 #151D5F
analogous
#5F3215 #5F5715 #425F15
triadic
#5F5715 #155F57 #57155F
tetradic
#5F5715 #155F32 #151D5F #5F1542
square
#5F5715 #155F32 #151D5F #5F1542
split-complementary
#5F5715 #15425F #32155F
monochromatic
#191706 #2D290A #5F5715 #918520 #C3B32B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F5715#FFFFFF#000000##FFFFFF
##5F57151.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)
#605409
Deuteranopia (green-blind)
#625819
Tritanopia (blue-blind)
#67504A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5f5715;
/* rgb */ color: rgb(95, 87, 21);
/* oklch */ color: oklch(45.1% 0.084 102.2);
Tailwind
colors: {
  custom: {
    50: '#8f8658',
    500: '#5f5715',
    950: '#000000',
  },
}
SCSS
$custom: #5f5715;
$custom-light: #8f8658;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5715",
  "rgb": {
    "r": 95,
    "g": 87,
    "b": 21
  },
  "hsl": {
    "h": 53.514,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.4514,
    "c": 0.0842,
    "h": 102.2
  },
  "luminance": 0.09303
}

Semantic roles & 50–950 ramp

primary
#5F5715
secondary
#3A4496
accent
#53E741
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5F5715

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

Preview Lab → · Contrast checker → · Palette generator →

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