#5F5913#5F5913

#5F5913 is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.6% C 0.087 H 104.3°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#5F5913
RGBrgb(95, 89, 19)
HSLhsl(55, 67%, 22%)
HSVhsv(55, 80%, 37%)
CMYKcmyk(0%, 6.3%, 80%, 62.7%)
CIE-LABlab(37.16, -6.34, 38.62)
CIE-LCHlch(37.16, 39.13, 99.33°)
OKLaboklab(45.61% -0.0216 0.0848)
OKLCHoklch(45.61% 0.087 104.3)
XYZxyz(8.4096, 9.6250, 2.0308)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5913 #13195F
analogous
#5F3313 #5F5913 #3F5F13
triadic
#5F5913 #135F59 #59135F
tetradic
#5F5913 #135F33 #13195F #5F133F
square
#5F5913 #135F33 #13195F #5F133F
split-complementary
#5F5913 #133F5F #33135F
monochromatic
#1A1805 #2C2909 #5F5913 #92891D #C5B927

Accessibility & contrast

On white

7.18
#5F5913 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#5F5913 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F5913
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5913#FFFFFF#000000##FFFFFF
##5F59131.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625605
Deuteranopia (green-blind)
#645918
Tritanopia (blue-blind)
#67524C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5f5913;
/* rgb */ color: rgb(95, 89, 19);
/* oklch */ color: oklch(45.6% 0.087 104.3);
Tailwind
colors: {
  custom: {
    50: '#8f8757',
    500: '#5f5913',
    950: '#000000',
  },
}
SCSS
$custom: #5f5913;
$custom-light: #8f8757;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5913",
  "rgb": {
    "r": 95,
    "g": 89,
    "b": 19
  },
  "hsl": {
    "h": 55.263,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.45611,
    "c": 0.08749,
    "h": 104.3
  },
  "luminance": 0.09625
}

Semantic roles & 50–950 ramp

primary
#5F5913
secondary
#373E97
accent
#4CEA3E
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5F5913

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

Preview Lab → · Contrast checker → · Palette generator →

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