#5F652E#5F652E

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

Color values

HEX#5F652E
RGBrgb(95, 101, 46)
HSLhsl(67, 37%, 29%)
HSVhsv(67, 54%, 40%)
CMYKcmyk(5.9%, 0%, 54.5%, 60.4%)
CIE-LABlab(41.12, -11.21, 30.01)
CIE-LCHlch(41.12, 32.03, 110.48°)
OKLaboklab(48.85% -0.0322 0.0708)
OKLCHoklch(48.85% 0.078 114.5)
XYZxyz(9.8663, 11.9377, 4.3687)
Luminance0.1194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F652E #342E65
analogous
#65502E #5F652E #44652E
triadic
#5F652E #2E5F65 #652E5F
tetradic
#5F652E #2E6550 #342E65 #652E44
square
#5F652E #2E6550 #342E65 #652E44
split-complementary
#5F652E #2E4465 #502E65
monochromatic
#14150A #373B1B #5F652E #878F41 #AAB45A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F652E#FFFFFF#000000##FFFFFF
##5F652E1.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)
#6C6029
Deuteranopia (green-blind)
#6B6231
Tritanopia (blue-blind)
#656059
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5f652e;
/* rgb */ color: rgb(95, 101, 46);
/* oklch */ color: oklch(48.8% 0.078 114.5);
Tailwind
colors: {
  custom: {
    50: '#8e9068',
    500: '#5f652e',
    950: '#000000',
  },
}
SCSS
$custom: #5f652e;
$custom-light: #8e9068;
$custom-dark: #000000;
JSON
{
  "hex": "#5f652e",
  "rgb": {
    "r": 95,
    "g": 101,
    "b": 46
  },
  "hsl": {
    "h": 66.545,
    "s": 37.415,
    "l": 28.824
  },
  "oklch": {
    "l": 0.48849,
    "c": 0.07777,
    "h": 114.5
  },
  "luminance": 0.11938
}

Semantic roles & 50–950 ramp

primary
#5F652E
secondary
#5F5897
accent
#5ACD67
background
#F8F8F6
surface
#F0F0EB
border
#CBCBC6
text
#0C0C06
muted
#7D7D7A

Preview Lab

Preview with #5F652E

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

Preview Lab → · Contrast checker → · Palette generator →

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