#5F6316#5F6316

#5F6316 is a mid, moderate yellow. Relative luminance 0.114; OKLCH L 48.1% C 0.097 H 112.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#5F6316
RGBrgb(95, 99, 22)
HSLhsl(63, 64%, 24%)
HSVhsv(63, 78%, 39%)
CMYKcmyk(4%, 0%, 77.8%, 61.2%)
CIE-LABlab(40.27, -11.93, 40.39)
CIE-LCHlch(40.27, 42.12, 106.45°)
OKLaboklab(48.1% -0.0369 0.0891)
OKLCHoklch(48.1% 0.097 112.5)
XYZxyz(9.3263, 11.4147, 2.4709)
Luminance0.1142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6316 #1A1663
analogous
#634016 #5F6316 #386316
triadic
#5F6316 #165F63 #63165F
tetradic
#5F6316 #166340 #1A1663 #631638
square
#5F6316 #166340 #1A1663 #631638
split-complementary
#5F6316 #163863 #401663
monochromatic
#181906 #2F310B #5F6316 #8F9521 #BFC72C

Accessibility & contrast

On white

6.40
#5F6316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5F6316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6316
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6316#FFFFFF#000000##FFFFFF
##5F63161.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E07
Deuteranopia (green-blind)
#6B601C
Tritanopia (blue-blind)
#665D54
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5f6316;
/* rgb */ color: rgb(95, 99, 22);
/* oklch */ color: oklch(48.1% 0.097 112.5);
Tailwind
colors: {
  custom: {
    50: '#8f8f5a',
    500: '#5f6316',
    950: '#000000',
  },
}
SCSS
$custom: #5f6316;
$custom-light: #8f8f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6316",
  "rgb": {
    "r": 95,
    "g": 99,
    "b": 22
  },
  "hsl": {
    "h": 63.117,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.481,
    "c": 0.0965,
    "h": 112.5
  },
  "luminance": 0.11415
}

Semantic roles & 50–950 ramp

primary
#5F6316
secondary
#403B9A
accent
#41E74A
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F6316

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

Preview Lab → · Contrast checker → · Palette generator →

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