#5F4D0E#5F4D0E

#5F4D0E is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.7% C 0.081 H 91.7°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#5F4D0E
RGBrgb(95, 77, 14)
HSLhsl(47, 74%, 21%)
HSVhsv(47, 85%, 37%)
CMYKcmyk(0%, 18.9%, 85.3%, 62.7%)
CIE-LABlab(33.51, 0.62, 37.16)
CIE-LCHlch(33.51, 37.17, 89.04°)
OKLaboklab(42.7% -0.0025 0.0805)
OKLCHoklch(42.7% 0.081 91.7)
XYZxyz(7.4529, 7.7728, 1.5231)
Luminance0.0777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4D0E #0E205F
analogous
#5F250E #5F4D0E #495F0E
triadic
#5F4D0E #0E5F4D #4D0E5F
tetradic
#5F4D0E #0E5F25 #0E205F #5F0E49
square
#5F4D0E #0E5F25 #0E205F #5F0E49
split-complementary
#5F4D0E #0E495F #250E5F
monochromatic
#1B1604 #2A2206 #5F4D0E #947816 #CAA31E

Accessibility & contrast

On white

8.22
#5F4D0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#5F4D0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F4D0E
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4D0E#FFFFFF#000000##FFFFFF
##5F4D0E1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C02
Deuteranopia (green-blind)
#5B5112
Tritanopia (blue-blind)
#684641
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5f4d0e;
/* rgb */ color: rgb(95, 77, 14);
/* oklch */ color: oklch(42.7% 0.081 91.7);
Tailwind
colors: {
  custom: {
    50: '#907e53',
    500: '#5f4d0e',
    950: '#000000',
  },
}
SCSS
$custom: #5f4d0e;
$custom-light: #907e53;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4d0e",
  "rgb": {
    "r": 95,
    "g": 77,
    "b": 14
  },
  "hsl": {
    "h": 46.667,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42704,
    "c": 0.08057,
    "h": 91.7
  },
  "luminance": 0.07772
}

Semantic roles & 50–950 ramp

primary
#5F4D0E
secondary
#304799
accent
#60F137
background
#F9F7F4
surface
#F1EEE7
border
#CBC9C3
text
#0D0903
muted
#7E7B78

Preview Lab

Preview with #5F4D0E

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

Preview Lab → · Contrast checker → · Palette generator →

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