#5F5310#5F5310

#5F5310 is a dark, moderate yellow. Relative luminance 0.087; OKLCH L 44.1% C 0.084 H 98.4°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#5F5310
RGBrgb(95, 83, 16)
HSLhsl(51, 71%, 22%)
HSVhsv(51, 83%, 37%)
CMYKcmyk(0%, 12.6%, 83.2%, 62.7%)
CIE-LABlab(35.32, -2.92, 38.05)
CIE-LCHlch(35.32, 38.17, 94.39°)
OKLaboklab(44.14% -0.0123 0.0829)
OKLCHoklch(44.14% 0.084 98.4)
XYZxyz(7.9065, 8.6572, 1.7447)
Luminance0.0866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5310 #101C5F
analogous
#5F2C10 #5F5310 #445F10
triadic
#5F5310 #105F53 #53105F
tetradic
#5F5310 #105F2C #101C5F #5F1044
square
#5F5310 #105F2C #101C5F #5F1044
split-complementary
#5F5310 #10445F #2C105F
monochromatic
#1A1704 #2B2507 #5F5310 #938119 #C8AF22

Accessibility & contrast

On white

7.69
#5F5310 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#5F5310 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F5310
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5310#FFFFFF#000000##FFFFFF
##5F53101.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5103
Deuteranopia (green-blind)
#5F5515
Tritanopia (blue-blind)
#674C46
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5f5310;
/* rgb */ color: rgb(95, 83, 16);
/* oklch */ color: oklch(44.1% 0.084 98.4);
Tailwind
colors: {
  custom: {
    50: '#908355',
    500: '#5f5310',
    950: '#000000',
  },
}
SCSS
$custom: #5f5310;
$custom-light: #908355;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5310",
  "rgb": {
    "r": 95,
    "g": 83,
    "b": 16
  },
  "hsl": {
    "h": 50.886,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.4414,
    "c": 0.08382,
    "h": 98.4
  },
  "luminance": 0.08657
}

Semantic roles & 50–950 ramp

primary
#5F5310
secondary
#334298
accent
#55EE3A
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5F5310

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

Preview Lab → · Contrast checker → · Palette generator →

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