#5F6516#5F6516

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

Color values

HEX#5F6516
RGBrgb(95, 101, 22)
HSLhsl(65, 64%, 24%)
HSVhsv(65, 78%, 40%)
CMYKcmyk(5.9%, 0%, 78.2%, 60.4%)
CIE-LABlab(40.89, -13.04, 40.99)
CIE-LCHlch(40.89, 43.01, 107.65°)
OKLaboklab(48.6% -0.04 0.0904)
OKLCHoklch(48.6% 0.099 113.9)
XYZxyz(9.5181, 11.7984, 2.5348)
Luminance0.1180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6516 #1C1665
analogous
#654416 #5F6516 #386516
triadic
#5F6516 #165F65 #65165F
tetradic
#5F6516 #166544 #1C1665 #651638
square
#5F6516 #166544 #1C1665 #651638
split-complementary
#5F6516 #163865 #441665
monochromatic
#181905 #30330B #5F6516 #8E9721 #BECA2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F6516#FFFFFF#000000##FFFFFF
##5F65161.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)
#6D6006
Deuteranopia (green-blind)
#6D611D
Tritanopia (blue-blind)
#665F56
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5f6516;
/* rgb */ color: rgb(95, 101, 22);
/* oklch */ color: oklch(48.6% 0.099 113.9);
Tailwind
colors: {
  custom: {
    50: '#8f905a',
    500: '#5f6516',
    950: '#000000',
  },
}
SCSS
$custom: #5f6516;
$custom-light: #8f905a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6516",
  "rgb": {
    "r": 95,
    "g": 101,
    "b": 22
  },
  "hsl": {
    "h": 64.557,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.48599,
    "c": 0.09887,
    "h": 113.9
  },
  "luminance": 0.11798
}

Semantic roles & 50–950 ramp

primary
#5F6516
secondary
#423B9C
accent
#41E74D
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F6516

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

Preview Lab → · Contrast checker → · Palette generator →

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