#5F5318#5F5318

#5F5318 is a dark, moderate yellow. Relative luminance 0.087; OKLCH L 44.2% C 0.078 H 97.5°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#5F5318
RGBrgb(95, 83, 24)
HSLhsl(50, 60%, 23%)
HSVhsv(50, 75%, 37%)
CMYKcmyk(0%, 12.6%, 74.7%, 62.7%)
CIE-LABlab(35.37, -2.51, 34.77)
CIE-LCHlch(35.37, 34.86, 94.13°)
OKLaboklab(44.2% -0.0102 0.0777)
OKLCHoklch(44.2% 0.078 97.5)
XYZxyz(7.9778, 8.6858, 2.1203)
Luminance0.0868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5318 #18245F
analogous
#5F2F18 #5F5318 #475F18
triadic
#5F5318 #185F53 #53185F
tetradic
#5F5318 #185F2F #18245F #5F1847
square
#5F5318 #185F2F #18245F #5F1847
split-complementary
#5F5318 #18475F #2F185F
monochromatic
#181506 #2E280C #5F5318 #907E24 #C1A831

Accessibility & contrast

On white

7.67
#5F5318 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#5F5318 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F5318
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5318#FFFFFF#000000##FFFFFF
##5F53181.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5110
Deuteranopia (green-blind)
#5F551B
Tritanopia (blue-blind)
#674C47
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5f5318;
/* rgb */ color: rgb(95, 83, 24);
/* oklch */ color: oklch(44.2% 0.078 97.5);
Tailwind
colors: {
  custom: {
    50: '#8f8359',
    500: '#5f5318',
    950: '#000000',
  },
}
SCSS
$custom: #5f5318;
$custom-light: #8f8359;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5318",
  "rgb": {
    "r": 95,
    "g": 83,
    "b": 24
  },
  "hsl": {
    "h": 49.859,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44203,
    "c": 0.07833,
    "h": 97.5
  },
  "luminance": 0.08685
}

Semantic roles & 50–950 ramp

primary
#5F5318
secondary
#3D4C95
accent
#60E345
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A04
muted
#7E7C79

Preview Lab

Preview with #5F5318

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

Preview Lab → · Contrast checker → · Palette generator →

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