#5F5813#5F5813

#5F5813 is a mid, moderate yellow. Relative luminance 0.095; OKLCH L 45.4% C 0.086 H 103.4°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#5F5813
RGBrgb(95, 88, 19)
HSLhsl(54, 67%, 22%)
HSVhsv(54, 80%, 37%)
CMYKcmyk(0%, 7.4%, 80%, 62.7%)
CIE-LABlab(36.85, -5.75, 38.33)
CIE-LCHlch(36.85, 38.76, 98.54°)
OKLaboklab(45.37% -0.02 0.0842)
OKLCHoklch(45.37% 0.087 103.4)
XYZxyz(8.3270, 9.4597, 2.0033)
Luminance0.0946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5813 #131A5F
analogous
#5F3213 #5F5813 #405F13
triadic
#5F5813 #135F58 #58135F
tetradic
#5F5813 #135F32 #131A5F #5F1340
square
#5F5813 #135F32 #131A5F #5F1340
split-complementary
#5F5813 #13405F #32135F
monochromatic
#1A1805 #2C2909 #5F5813 #92871D #C5B627

Accessibility & contrast

On white

7.26
#5F5813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#5F5813 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F5813
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5813#FFFFFF#000000##FFFFFF
##5F58131.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615506
Deuteranopia (green-blind)
#635818
Tritanopia (blue-blind)
#67514B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5f5813;
/* rgb */ color: rgb(95, 88, 19);
/* oklch */ color: oklch(45.4% 0.086 103.4);
Tailwind
colors: {
  custom: {
    50: '#8f8657',
    500: '#5f5813',
    950: '#000000',
  },
}
SCSS
$custom: #5f5813;
$custom-light: #8f8657;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5813",
  "rgb": {
    "r": 95,
    "g": 88,
    "b": 19
  },
  "hsl": {
    "h": 54.474,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.45368,
    "c": 0.0865,
    "h": 103.4
  },
  "luminance": 0.09459
}

Semantic roles & 50–950 ramp

primary
#5F5813
secondary
#374097
accent
#4EEA3E
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5F5813

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

Preview Lab → · Contrast checker → · Palette generator →

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