#5F6513#5F6513

#5F6513 is a mid, moderate yellow. Relative luminance 0.118; OKLCH L 48.6% C 0.101 H 113.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#5F6513
RGBrgb(95, 101, 19)
HSLhsl(64, 68%, 24%)
HSVhsv(64, 81%, 40%)
CMYKcmyk(5.9%, 0%, 81.2%, 60.4%)
CIE-LABlab(40.88, -13.19, 42.05)
CIE-LCHlch(40.88, 44.08, 107.41°)
OKLaboklab(48.58% -0.0407 0.0921)
OKLCHoklch(48.58% 0.101 113.9)
XYZxyz(9.4908, 11.7875, 2.3912)
Luminance0.1179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6513 #191365
analogous
#654213 #5F6513 #366513
triadic
#5F6513 #135F65 #65135F
tetradic
#5F6513 #136542 #191365 #651336
square
#5F6513 #136542 #191365 #651336
split-complementary
#5F6513 #133665 #421365
monochromatic
#181A05 #2F3109 #5F6513 #8F991D #C0CC26

Accessibility & contrast

On white

6.25
#5F6513 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5F6513 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6513
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6513#FFFFFF#000000##FFFFFF
##5F65131.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6000
Deuteranopia (green-blind)
#6D611A
Tritanopia (blue-blind)
#665E56
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5f6513;
/* rgb */ color: rgb(95, 101, 19);
/* oklch */ color: oklch(48.6% 0.101 113.9);
Tailwind
colors: {
  custom: {
    50: '#8f9059',
    500: '#5f6513',
    950: '#000000',
  },
}
SCSS
$custom: #5f6513;
$custom-light: #8f9059;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6513",
  "rgb": {
    "r": 95,
    "g": 101,
    "b": 19
  },
  "hsl": {
    "h": 64.39,
    "s": 68.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.4858,
    "c": 0.10069,
    "h": 113.9
  },
  "luminance": 0.11787
}

Semantic roles & 50–950 ramp

primary
#5F6513
secondary
#3F379D
accent
#3DEB49
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F6513

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

Preview Lab → · Contrast checker → · Palette generator →

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