#5F4C10#5F4C10

#5F4C10 is a dark, moderate yellow. Relative luminance 0.076; OKLCH L 42.5% C 0.079 H 90.2°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#5F4C10
RGBrgb(95, 76, 16)
HSLhsl(46, 71%, 22%)
HSVhsv(46, 83%, 37%)
CMYKcmyk(0%, 20%, 83.2%, 62.7%)
CIE-LABlab(33.22, 1.32, 36.13)
CIE-LCHlch(33.22, 36.16, 87.91°)
OKLaboklab(42.48% -0.0002 0.0788)
OKLCHoklch(42.48% 0.079 90.2)
XYZxyz(7.3977, 7.6397, 1.5751)
Luminance0.0764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4C10 #10235F
analogous
#5F2510 #5F4C10 #4B5F10
triadic
#5F4C10 #105F4C #4C105F
tetradic
#5F4C10 #105F25 #10235F #5F104B
square
#5F4C10 #105F25 #10235F #5F104B
split-complementary
#5F4C10 #104B5F #25105F
monochromatic
#1A1504 #2B2207 #5F4C10 #937619 #C8A022

Accessibility & contrast

On white

8.31
#5F4C10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#5F4C10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F4C10
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4C10#FFFFFF#000000##FFFFFF
##5F4C101.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B05
Deuteranopia (green-blind)
#5A5014
Tritanopia (blue-blind)
#684541
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5f4c10;
/* rgb */ color: rgb(95, 76, 16);
/* oklch */ color: oklch(42.5% 0.079 90.2);
Tailwind
colors: {
  custom: {
    50: '#907d54',
    500: '#5f4c10',
    950: '#000000',
  },
}
SCSS
$custom: #5f4c10;
$custom-light: #907d54;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4c10",
  "rgb": {
    "r": 95,
    "g": 76,
    "b": 16
  },
  "hsl": {
    "h": 45.57,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42484,
    "c": 0.0788,
    "h": 90.2
  },
  "luminance": 0.07639
}

Semantic roles & 50–950 ramp

primary
#5F4C10
secondary
#334B98
accent
#65EE3A
background
#F9F7F4
surface
#F1EEE8
border
#CBC9C4
text
#0D0903
muted
#7E7B78

Preview Lab

Preview with #5F4C10

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

Preview Lab → · Contrast checker → · Palette generator →

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