#5F5512#5F5512

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

Color values

HEX#5F5512
RGBrgb(95, 85, 18)
HSLhsl(52, 68%, 22%)
HSVhsv(52, 81%, 37%)
CMYKcmyk(0%, 10.5%, 81.1%, 62.7%)
CIE-LABlab(35.93, -4.03, 37.86)
CIE-LCHlch(35.93, 38.07, 96.07°)
OKLaboklab(44.63% -0.0152 0.0829)
OKLCHoklch(44.63% 0.084 100.4)
XYZxyz(8.0774, 8.9740, 1.8788)
Luminance0.0897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5512 #121C5F
analogous
#5F2F12 #5F5512 #435F12
triadic
#5F5512 #125F55 #55125F
tetradic
#5F5512 #125F2F #121C5F #5F1243
square
#5F5512 #125F2F #121C5F #5F1243
split-complementary
#5F5512 #12435F #2F125F
monochromatic
#1A1705 #2C2708 #5F5512 #92831C #C6B125

Accessibility & contrast

On white

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

On black

2.79
#5F5512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5F5512#FFFFFF#000000##FFFFFF
##5F55121.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5205
Deuteranopia (green-blind)
#615617
Tritanopia (blue-blind)
#674E48
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5f5512;
/* rgb */ color: rgb(95, 85, 18);
/* oklch */ color: oklch(44.6% 0.084 100.4);
Tailwind
colors: {
  custom: {
    50: '#8f8456',
    500: '#5f5512',
    950: '#000000',
  },
}
SCSS
$custom: #5f5512;
$custom-light: #8f8456;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5512",
  "rgb": {
    "r": 95,
    "g": 85,
    "b": 18
  },
  "hsl": {
    "h": 52.208,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.44634,
    "c": 0.08432,
    "h": 100.4
  },
  "luminance": 0.08974
}

Semantic roles & 50–950 ramp

primary
#5F5512
secondary
#364297
accent
#53EB3D
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5F5512

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

Preview Lab → · Contrast checker → · Palette generator →

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