#5F661D#5F661D

#5F661D is a mid, moderate yellow. Relative luminance 0.120; OKLCH L 48.9% C 0.095 H 114.7°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#5F661D
RGBrgb(95, 102, 29)
HSLhsl(66, 56%, 26%)
HSVhsv(66, 72%, 40%)
CMYKcmyk(6.9%, 0%, 71.6%, 60%)
CIE-LABlab(41.26, -13.19, 38.49)
CIE-LCHlch(41.26, 40.69, 108.91°)
OKLaboklab(48.9% -0.0397 0.0865)
OKLCHoklch(48.9% 0.095 114.7)
XYZxyz(9.6927, 12.0245, 2.9725)
Luminance0.1202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F661D #241D66
analogous
#66481D #5F661D #3A661D
triadic
#5F661D #1D5F66 #661D5F
tetradic
#5F661D #1D6648 #241D66 #661D3A
square
#5F661D #1D6648 #241D66 #661D3A
split-complementary
#5F661D #1D3A66 #481D66
monochromatic
#161807 #33360F #5F661D #8B962B #B8C538

Accessibility & contrast

On white

6.17
#5F661D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#5F661D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F661D
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F661D#FFFFFF#000000##FFFFFF
##5F661D1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6112
Deuteranopia (green-blind)
#6D6222
Tritanopia (blue-blind)
#656057
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5f661d;
/* rgb */ color: rgb(95, 102, 29);
/* oklch */ color: oklch(48.9% 0.095 114.7);
Tailwind
colors: {
  custom: {
    50: '#8f915e',
    500: '#5f661d',
    950: '#000000',
  },
}
SCSS
$custom: #5f661d;
$custom-light: #8f915e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f661d",
  "rgb": {
    "r": 95,
    "g": 102,
    "b": 29
  },
  "hsl": {
    "h": 65.753,
    "s": 55.725,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48904,
    "c": 0.09515,
    "h": 114.7
  },
  "luminance": 0.12024
}

Semantic roles & 50–950 ramp

primary
#5F661D
secondary
#4C449B
accent
#49DF57
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F661D

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

Preview Lab → · Contrast checker → · Palette generator →

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