#5F5B16#5F5B16

#5F5B16 is a mid, moderate yellow. Relative luminance 0.100; OKLCH L 46.1% C 0.088 H 106.0°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#5F5B16
RGBrgb(95, 91, 22)
HSLhsl(57, 62%, 23%)
HSVhsv(57, 77%, 37%)
CMYKcmyk(0%, 4.2%, 76.8%, 62.7%)
CIE-LABlab(37.79, -7.35, 38.02)
CIE-LCHlch(37.79, 38.73, 100.95°)
OKLaboklab(46.12% -0.0242 0.0841)
OKLCHoklch(46.12% 0.088 106)
XYZxyz(8.6056, 9.9733, 2.2306)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5B16 #161A5F
analogous
#5F3616 #5F5B16 #3E5F16
triadic
#5F5B16 #165F5B #5B165F
tetradic
#5F5B16 #165F36 #161A5F #5F163E
square
#5F5B16 #165F36 #161A5F #5F163E
split-complementary
#5F5B16 #163E5F #36165F
monochromatic
#191806 #2D2B0A #5F5B16 #918B22 #C2BA2D

Accessibility & contrast

On white

7.01
#5F5B16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#5F5B16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F5B16
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5B16#FFFFFF#000000##FFFFFF
##5F5B161.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63570A
Deuteranopia (green-blind)
#655A1B
Tritanopia (blue-blind)
#66544E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5f5b16;
/* rgb */ color: rgb(95, 91, 22);
/* oklch */ color: oklch(46.1% 0.088 106.0);
Tailwind
colors: {
  custom: {
    50: '#8f8959',
    500: '#5f5b16',
    950: '#000000',
  },
}
SCSS
$custom: #5f5b16;
$custom-light: #8f8959;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5b16",
  "rgb": {
    "r": 95,
    "g": 91,
    "b": 22
  },
  "hsl": {
    "h": 56.712,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.46122,
    "c": 0.08754,
    "h": 106
  },
  "luminance": 0.09973
}

Semantic roles & 50–950 ramp

primary
#5F5B16
secondary
#3B4096
accent
#4BE542
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #5F5B16

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

Preview Lab → · Contrast checker → · Palette generator →

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