#5F4D10#5F4D10

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

Color values

HEX#5F4D10
RGBrgb(95, 77, 16)
HSLhsl(46, 71%, 22%)
HSVhsv(46, 83%, 37%)
CMYKcmyk(0%, 18.9%, 83.2%, 62.7%)
CIE-LABlab(33.52, 0.71, 36.41)
CIE-LCHlch(33.52, 36.41, 88.88°)
OKLaboklab(42.72% -0.002 0.0794)
OKLCHoklch(42.72% 0.079 91.4)
XYZxyz(7.4672, 7.7785, 1.5982)
Luminance0.0778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4D10 #10225F
analogous
#5F2610 #5F4D10 #4A5F10
triadic
#5F4D10 #105F4D #4D105F
tetradic
#5F4D10 #105F26 #10225F #5F104A
square
#5F4D10 #105F26 #10225F #5F104A
split-complementary
#5F4D10 #104A5F #26105F
monochromatic
#1A1504 #2B2307 #5F4D10 #937719 #C8A222

Accessibility & contrast

On white

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

On black

2.56
#5F4D10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5F4D10#FFFFFF#000000##FFFFFF
##5F4D101.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f4d10;
/* rgb */ color: rgb(95, 77, 16);
/* oklch */ color: oklch(42.7% 0.079 91.4);
Tailwind
colors: {
  custom: {
    50: '#907e54',
    500: '#5f4d10',
    950: '#000000',
  },
}
SCSS
$custom: #5f4d10;
$custom-light: #907e54;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4d10",
  "rgb": {
    "r": 95,
    "g": 77,
    "b": 16
  },
  "hsl": {
    "h": 46.329,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42718,
    "c": 0.07941,
    "h": 91.4
  },
  "luminance": 0.07778
}

Semantic roles & 50–950 ramp

primary
#5F4D10
secondary
#334A98
accent
#63EE3A
background
#F9F7F5
surface
#F1EEE8
border
#CBC9C4
text
#0D0903
muted
#7E7B78

Preview Lab

Preview with #5F4D10

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

Preview Lab → · Contrast checker → · Palette generator →

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