#5F4B0E#5F4B0E

#5F4B0E is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 42.2% C 0.079 H 89.3°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#5F4B0E
RGBrgb(95, 75, 14)
HSLhsl(45, 74%, 21%)
HSVhsv(45, 85%, 37%)
CMYKcmyk(0%, 21.1%, 85.3%, 62.7%)
CIE-LABlab(32.91, 1.85, 36.63)
CIE-LCHlch(32.91, 36.68, 87.11°)
OKLaboklab(42.24% 0.001 0.0794)
OKLCHoklch(42.24% 0.079 89.3)
XYZxyz(7.3151, 7.4972, 1.4772)
Luminance0.0750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4B0E #0E225F
analogous
#5F230E #5F4B0E #4B5F0E
triadic
#5F4B0E #0E5F4B #4B0E5F
tetradic
#5F4B0E #0E5F23 #0E225F #5F0E4B
square
#5F4B0E #0E5F23 #0E225F #5F0E4B
split-complementary
#5F4B0E #0E4B5F #230E5F
monochromatic
#1B1504 #2A2106 #5F4B0E #947516 #CA9F1E

Accessibility & contrast

On white

8.40
#5F4B0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#5F4B0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F4B0E
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4B0E#FFFFFF#000000##FFFFFF
##5F4B0E1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A03
Deuteranopia (green-blind)
#5A5012
Tritanopia (blue-blind)
#684440
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5f4b0e;
/* rgb */ color: rgb(95, 75, 14);
/* oklch */ color: oklch(42.2% 0.079 89.3);
Tailwind
colors: {
  custom: {
    50: '#907d53',
    500: '#5f4b0e',
    950: '#000000',
  },
}
SCSS
$custom: #5f4b0e;
$custom-light: #907d53;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4b0e",
  "rgb": {
    "r": 95,
    "g": 75,
    "b": 14
  },
  "hsl": {
    "h": 45.185,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42238,
    "c": 0.0794,
    "h": 89.3
  },
  "luminance": 0.07497
}

Semantic roles & 50–950 ramp

primary
#5F4B0E
secondary
#304A99
accent
#65F137
background
#F9F7F4
surface
#F1EEE7
border
#CBC9C3
text
#0D0902
muted
#7E7B78

Preview Lab

Preview with #5F4B0E

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

Preview Lab → · Contrast checker → · Palette generator →

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