#5F6416#5F6416

#5F6416 is a mid, moderate yellow. Relative luminance 0.116; OKLCH L 48.3% C 0.098 H 113.2°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#5F6416
RGBrgb(95, 100, 22)
HSLhsl(64, 64%, 24%)
HSVhsv(64, 78%, 39%)
CMYKcmyk(5%, 0%, 78%, 60.8%)
CIE-LABlab(40.58, -12.49, 40.69)
CIE-LCHlch(40.58, 42.56, 107.06°)
OKLaboklab(48.35% -0.0385 0.0898)
OKLCHoklch(48.35% 0.098 113.2)
XYZxyz(9.4216, 11.6054, 2.5027)
Luminance0.1161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6416 #1B1664
analogous
#644216 #5F6416 #386416
triadic
#5F6416 #165F64 #64165F
tetradic
#5F6416 #166442 #1B1664 #641638
square
#5F6416 #166442 #1B1664 #641638
split-complementary
#5F6416 #163864 #421664
monochromatic
#181906 #2F320B #5F6416 #8F9621 #BEC82C

Accessibility & contrast

On white

6.32
#5F6416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5F6416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6416
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6416#FFFFFF#000000##FFFFFF
##5F64161.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F06
Deuteranopia (green-blind)
#6C601C
Tritanopia (blue-blind)
#665E55
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5f6416;
/* rgb */ color: rgb(95, 100, 22);
/* oklch */ color: oklch(48.3% 0.098 113.2);
Tailwind
colors: {
  custom: {
    50: '#8f905a',
    500: '#5f6416',
    950: '#000000',
  },
}
SCSS
$custom: #5f6416;
$custom-light: #8f905a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6416",
  "rgb": {
    "r": 95,
    "g": 100,
    "b": 22
  },
  "hsl": {
    "h": 63.846,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.48349,
    "c": 0.09769,
    "h": 113.2
  },
  "luminance": 0.11605
}

Semantic roles & 50–950 ramp

primary
#5F6416
secondary
#413B9B
accent
#41E74C
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F6416

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

Preview Lab → · Contrast checker → · Palette generator →

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