#665B21#665B21

#665B21 is a mid, moderate yellow. Relative luminance 0.104; OKLCH L 46.9% C 0.078 H 98.5°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#665B21
RGBrgb(102, 91, 33)
HSLhsl(50, 51%, 26%)
HSVhsv(50, 68%, 40%)
CMYKcmyk(0%, 10.8%, 67.6%, 60%)
CIE-LABlab(38.58, -3.26, 34.04)
CIE-LCHlch(38.58, 34.20, 95.47°)
OKLaboklab(46.94% -0.0116 0.0775)
OKLCHoklch(46.94% 0.078 98.5)
XYZxyz(9.4955, 10.4172, 2.9491)
Luminance0.1042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665B21 #212C66
analogous
#663921 #665B21 #4F6621
triadic
#665B21 #21665B #5B2166
tetradic
#665B21 #216639 #212C66 #66214F
square
#665B21 #216639 #212C66 #66214F
split-complementary
#665B21 #214F66 #392166
monochromatic
#171507 #383212 #665B21 #948430 #C1AD40

Accessibility & contrast

On white

6.81
#665B21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#665B21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665B21
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665B21#FFFFFF#000000##FFFFFF
##665B211.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64591A
Deuteranopia (green-blind)
#675D24
Tritanopia (blue-blind)
#6E544F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #665b21;
/* rgb */ color: rgb(102, 91, 33);
/* oklch */ color: oklch(46.9% 0.078 98.5);
Tailwind
colors: {
  custom: {
    50: '#94895f',
    500: '#665b21',
    950: '#000000',
  },
}
SCSS
$custom: #665b21;
$custom-light: #94895f;
$custom-dark: #000000;
JSON
{
  "hex": "#665b21",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 33
  },
  "hsl": {
    "h": 50.435,
    "s": 51.111,
    "l": 26.471
  },
  "oklch": {
    "l": 0.46942,
    "c": 0.07841,
    "h": 98.5
  },
  "luminance": 0.10417
}

Semantic roles & 50–950 ramp

primary
#665B21
secondary
#49569A
accent
#64DB4D
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B05
muted
#7E7C79

Preview Lab

Preview with #665B21

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

Preview Lab → · Contrast checker → · Palette generator →

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