#5F4F12#5F4F12

#5F4F12 is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 43.2% C 0.079 H 93.6°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#5F4F12
RGBrgb(95, 79, 18)
HSLhsl(48, 68%, 22%)
HSVhsv(48, 81%, 37%)
CMYKcmyk(0%, 16.8%, 81.1%, 62.7%)
CIE-LABlab(34.13, -0.42, 36.16)
CIE-LCHlch(34.13, 36.17, 90.66°)
OKLaboklab(43.2% -0.005 0.0793)
OKLCHoklch(43.2% 0.079 93.6)
XYZxyz(7.6249, 8.0690, 1.7280)
Luminance0.0807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4F12 #12225F
analogous
#5F2812 #5F4F12 #495F12
triadic
#5F4F12 #125F4F #4F125F
tetradic
#5F4F12 #125F28 #12225F #5F1249
square
#5F4F12 #125F28 #12225F #5F1249
split-complementary
#5F4F12 #12495F #28125F
monochromatic
#1A1505 #2C2408 #5F4F12 #927A1C #C6A525

Accessibility & contrast

On white

8.03
#5F4F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5F4F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F4F12
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4F12#FFFFFF#000000##FFFFFF
##5F4F121.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D07
Deuteranopia (green-blind)
#5C5216
Tritanopia (blue-blind)
#674843
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5f4f12;
/* rgb */ color: rgb(95, 79, 18);
/* oklch */ color: oklch(43.2% 0.079 93.6);
Tailwind
colors: {
  custom: {
    50: '#908055',
    500: '#5f4f12',
    950: '#000000',
  },
}
SCSS
$custom: #5f4f12;
$custom-light: #908055;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4f12",
  "rgb": {
    "r": 95,
    "g": 79,
    "b": 18
  },
  "hsl": {
    "h": 47.532,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43203,
    "c": 0.07949,
    "h": 93.6
  },
  "luminance": 0.08069
}

Semantic roles & 50–950 ramp

primary
#5F4F12
secondary
#364A97
accent
#61EB3D
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5F4F12

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

Preview Lab → · Contrast checker → · Palette generator →

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