#665F40#665F40

#665F40 is a mid, muted yellow. Relative luminance 0.114; OKLCH L 48.4% C 0.047 H 97.0°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#665F40
RGBrgb(102, 95, 64)
HSLhsl(49, 23%, 33%)
HSVhsv(49, 37%, 40%)
CMYKcmyk(0%, 6.9%, 37.3%, 60%)
CIE-LABlab(40.21, -2.40, 18.78)
CIE-LCHlch(40.21, 18.93, 97.29°)
OKLaboklab(48.38% -0.0057 0.0466)
OKLCHoklch(48.38% 0.047 97)
XYZxyz(10.4973, 11.3797, 6.4930)
Luminance0.1138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665F40 #404766
analogous
#664C40 #665F40 #5A6640
triadic
#665F40 #40665F #5F4066
tetradic
#665F40 #40664C #404766 #66405A
square
#665F40 #40664C #404766 #66405A
split-complementary
#665F40 #405A66 #4C4066
monochromatic
#1B1911 #403C28 #665F40 #8C8258 #AAA077

Accessibility & contrast

On white

6.41
#665F40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#665F40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665F40
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665F40#FFFFFF#000000##FFFFFF
##665F401.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655D3E
Deuteranopia (green-blind)
#676041
Tritanopia (blue-blind)
#6C5B57
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #665f40;
/* rgb */ color: rgb(102, 95, 64);
/* oklch */ color: oklch(48.4% 0.047 97.0);
Tailwind
colors: {
  custom: {
    50: '#928c75',
    500: '#665f40',
    950: '#000000',
  },
}
SCSS
$custom: #665f40;
$custom-light: #928c75;
$custom-dark: #000000;
JSON
{
  "hex": "#665f40",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 64
  },
  "hsl": {
    "h": 48.947,
    "s": 22.892,
    "l": 32.549
  },
  "oklch": {
    "l": 0.48377,
    "c": 0.04696,
    "h": 97
  },
  "luminance": 0.11379
}

Semantic roles & 50–950 ramp

primary
#665F40
secondary
#6D7495
accent
#78BF68
background
#F9F8F7
surface
#F1F0ED
border
#CBCBC8
text
#0D0C08
muted
#7E7D7B

Preview Lab

Preview with #665F40

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

Preview Lab → · Contrast checker → · Palette generator →

#665F40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva