#5F4B0F#5F4B0F

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

Color values

HEX#5F4B0F
RGBrgb(95, 75, 15)
HSLhsl(45, 73%, 22%)
HSVhsv(45, 84%, 37%)
CMYKcmyk(0%, 21.1%, 84.2%, 62.7%)
CIE-LABlab(32.92, 1.89, 36.25)
CIE-LCHlch(32.92, 36.30, 87.01°)
OKLaboklab(42.24% 0.0013 0.0788)
OKLCHoklch(42.24% 0.079 89.1)
XYZxyz(7.3221, 7.5000, 1.5138)
Luminance0.0750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4B0F #0F235F
analogous
#5F230F #5F4B0F #4B5F0F
triadic
#5F4B0F #0F5F4B #4B0F5F
tetradic
#5F4B0F #0F5F23 #0F235F #5F0F4B
square
#5F4B0F #0F5F23 #0F235F #5F0F4B
split-complementary
#5F4B0F #0F4B5F #230F5F
monochromatic
#1A1504 #2A2107 #5F4B0F #947517 #C99E20

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F4B0F#FFFFFF#000000##FFFFFF
##5F4B0F1.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)
#554A04
Deuteranopia (green-blind)
#5A5013
Tritanopia (blue-blind)
#684440
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5f4b0f;
/* rgb */ color: rgb(95, 75, 15);
/* oklch */ color: oklch(42.2% 0.079 89.1);
Tailwind
colors: {
  custom: {
    50: '#907d53',
    500: '#5f4b0f',
    950: '#000000',
  },
}
SCSS
$custom: #5f4b0f;
$custom-light: #907d53;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4b0f",
  "rgb": {
    "r": 95,
    "g": 75,
    "b": 15
  },
  "hsl": {
    "h": 45,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42244,
    "c": 0.07882,
    "h": 89.1
  },
  "luminance": 0.075
}

Semantic roles & 50–950 ramp

primary
#5F4B0F
secondary
#324B98
accent
#66EF38
background
#F9F7F4
surface
#F1EEE7
border
#CBC9C3
text
#0D0903
muted
#7E7B78

Preview Lab

Preview with #5F4B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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