#5F652D#5F652D

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

Color values

HEX#5F652D
RGBrgb(95, 101, 45)
HSLhsl(66, 38%, 29%)
HSVhsv(66, 55%, 40%)
CMYKcmyk(5.9%, 0%, 55.4%, 60.4%)
CIE-LABlab(41.10, -11.31, 30.53)
CIE-LCHlch(41.10, 32.55, 110.33°)
OKLaboklab(48.84% -0.0326 0.0718)
OKLCHoklch(48.84% 0.079 114.4)
XYZxyz(9.8468, 11.9299, 4.2661)
Luminance0.1193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F652D #332D65
analogous
#654F2D #5F652D #43652D
triadic
#5F652D #2D5F65 #652D5F
tetradic
#5F652D #2D654F #332D65 #652D43
square
#5F652D #2D654F #332D65 #652D43
split-complementary
#5F652D #2D4365 #4F2D65
monochromatic
#141509 #373B1A #5F652D #878F40 #ABB558

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F652D#FFFFFF#000000##FFFFFF
##5F652D1.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)
#6C6028
Deuteranopia (green-blind)
#6B6130
Tritanopia (blue-blind)
#656058
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5f652d;
/* rgb */ color: rgb(95, 101, 45);
/* oklch */ color: oklch(48.8% 0.079 114.4);
Tailwind
colors: {
  custom: {
    50: '#8e9068',
    500: '#5f652d',
    950: '#000000',
  },
}
SCSS
$custom: #5f652d;
$custom-light: #8e9068;
$custom-dark: #000000;
JSON
{
  "hex": "#5f652d",
  "rgb": {
    "r": 95,
    "g": 101,
    "b": 45
  },
  "hsl": {
    "h": 66.429,
    "s": 38.356,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48835,
    "c": 0.07886,
    "h": 114.4
  },
  "luminance": 0.1193
}

Semantic roles & 50–950 ramp

primary
#5F652D
secondary
#5E5797
accent
#5ACE66
background
#F8F8F6
surface
#F0F0EB
border
#CBCBC6
text
#0C0C06
muted
#7D7D7A

Preview Lab

Preview with #5F652D

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

Preview Lab → · Contrast checker → · Palette generator →

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