#5F5612#5F5612

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

Color values

HEX#5F5612
RGBrgb(95, 86, 18)
HSLhsl(53, 68%, 22%)
HSVhsv(53, 81%, 37%)
CMYKcmyk(0%, 9.5%, 81.1%, 62.7%)
CIE-LABlab(36.24, -4.62, 38.14)
CIE-LCHlch(36.24, 38.42, 96.91°)
OKLaboklab(44.88% -0.0169 0.0836)
OKLCHoklch(44.88% 0.085 101.4)
XYZxyz(8.1567, 9.1325, 1.9053)
Luminance0.0913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5612 #121B5F
analogous
#5F3012 #5F5612 #425F12
triadic
#5F5612 #125F56 #56125F
tetradic
#5F5612 #125F30 #121B5F #5F1242
square
#5F5612 #125F30 #121B5F #5F1242
split-complementary
#5F5612 #12425F #30125F
monochromatic
#1A1705 #2C2708 #5F5612 #92851C #C6B325

Accessibility & contrast

On white

7.43
#5F5612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F5612
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5612#FFFFFF#000000##FFFFFF
##5F56121.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f5612;
/* rgb */ color: rgb(95, 86, 18);
/* oklch */ color: oklch(44.9% 0.085 101.4);
Tailwind
colors: {
  custom: {
    50: '#8f8556',
    500: '#5f5612',
    950: '#000000',
  },
}
SCSS
$custom: #5f5612;
$custom-light: #8f8556;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5612",
  "rgb": {
    "r": 95,
    "g": 86,
    "b": 18
  },
  "hsl": {
    "h": 52.987,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.44876,
    "c": 0.08524,
    "h": 101.4
  },
  "luminance": 0.09132
}

Semantic roles & 50–950 ramp

primary
#5F5612
secondary
#364197
accent
#51EB3D
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5F5612

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

Preview Lab → · Contrast checker → · Palette generator →

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