#5F6417#5F6417

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

Color values

HEX#5F6417
RGBrgb(95, 100, 23)
HSLhsl(64, 63%, 24%)
HSVhsv(64, 77%, 39%)
CMYKcmyk(5%, 0%, 77%, 60.8%)
CIE-LABlab(40.59, -12.43, 40.31)
CIE-LCHlch(40.59, 42.19, 107.14°)
OKLaboklab(48.36% -0.0382 0.0892)
OKLCHoklch(48.36% 0.097 113.2)
XYZxyz(9.4314, 11.6093, 2.5544)
Luminance0.1161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6417 #1C1764
analogous
#644317 #5F6417 #396417
triadic
#5F6417 #175F64 #64175F
tetradic
#5F6417 #176443 #1C1764 #641739
square
#5F6417 #176443 #1C1764 #641739
split-complementary
#5F6417 #173964 #431764
monochromatic
#181906 #30320C #5F6417 #8E9622 #BEC82E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F6417#FFFFFF#000000##FFFFFF
##5F64171.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)
#6C5F08
Deuteranopia (green-blind)
#6C601D
Tritanopia (blue-blind)
#665E55
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5f6417;
/* rgb */ color: rgb(95, 100, 23);
/* oklch */ color: oklch(48.4% 0.097 113.2);
Tailwind
colors: {
  custom: {
    50: '#8f905a',
    500: '#5f6417',
    950: '#000000',
  },
}
SCSS
$custom: #5f6417;
$custom-light: #8f905a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6417",
  "rgb": {
    "r": 95,
    "g": 100,
    "b": 23
  },
  "hsl": {
    "h": 63.896,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.48356,
    "c": 0.09703,
    "h": 113.2
  },
  "luminance": 0.11609
}

Semantic roles & 50–950 ramp

primary
#5F6417
secondary
#423C9A
accent
#42E64D
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F6417

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

Preview Lab → · Contrast checker → · Palette generator →

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