#5F652F#5F652F

#5F652F is a mid, moderate yellow. Relative luminance 0.119; OKLCH L 48.9% C 0.077 H 114.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#5F652F
RGBrgb(95, 101, 47)
HSLhsl(67, 36%, 29%)
HSVhsv(67, 53%, 40%)
CMYKcmyk(5.9%, 0%, 53.5%, 60.4%)
CIE-LABlab(41.13, -11.10, 29.49)
CIE-LCHlch(41.13, 31.51, 110.64°)
OKLaboklab(48.86% -0.0318 0.0698)
OKLCHoklch(48.86% 0.077 114.5)
XYZxyz(9.8862, 11.9456, 4.4737)
Luminance0.1195 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F652F #352F65
analogous
#65502F #5F652F #44652F
triadic
#5F652F #2F5F65 #652F5F
tetradic
#5F652F #2F6550 #352F65 #652F44
square
#5F652F #2F6550 #352F65 #652F44
split-complementary
#5F652F #2F4465 #502F65
monochromatic
#14150A #383B1C #5F652F #868F42 #A9B35B

Accessibility & contrast

On white

6.20
#5F652F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#5F652F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F652F
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F652F#FFFFFF#000000##FFFFFF
##5F652F1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C602A
Deuteranopia (green-blind)
#6B6232
Tritanopia (blue-blind)
#646059
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5f652f;
/* rgb */ color: rgb(95, 101, 47);
/* oklch */ color: oklch(48.9% 0.077 114.5);
Tailwind
colors: {
  custom: {
    50: '#8e9069',
    500: '#5f652f',
    950: '#000000',
  },
}
SCSS
$custom: #5f652f;
$custom-light: #8e9069;
$custom-dark: #000000;
JSON
{
  "hex": "#5f652f",
  "rgb": {
    "r": 95,
    "g": 101,
    "b": 47
  },
  "hsl": {
    "h": 66.667,
    "s": 36.486,
    "l": 29.02
  },
  "oklch": {
    "l": 0.48864,
    "c": 0.07666,
    "h": 114.5
  },
  "luminance": 0.11945
}

Semantic roles & 50–950 ramp

primary
#5F652F
secondary
#605997
accent
#5BCC68
background
#F8F8F6
surface
#F0F0EB
border
#CBCBC6
text
#0C0C06
muted
#7D7D7A

Preview Lab

Preview with #5F652F

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

Preview Lab → · Contrast checker → · Palette generator →

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