#665D21#665D21

#665D21 is a mid, moderate yellow. Relative luminance 0.108; OKLCH L 47.4% C 0.080 H 100.8°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#665D21
RGBrgb(102, 93, 33)
HSLhsl(52, 51%, 26%)
HSVhsv(52, 68%, 40%)
CMYKcmyk(0%, 8.8%, 67.6%, 60%)
CIE-LABlab(39.18, -4.44, 34.68)
CIE-LCHlch(39.18, 34.97, 97.29°)
OKLaboklab(47.42% -0.015 0.0789)
OKLCHoklch(47.42% 0.08 100.8)
XYZxyz(9.6687, 10.7637, 3.0069)
Luminance0.1076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665D21 #212A66
analogous
#663B21 #665D21 #4D6621
triadic
#665D21 #21665D #5D2166
tetradic
#665D21 #21663B #212A66 #66214D
square
#665D21 #21663B #212A66 #66214D
split-complementary
#665D21 #214D66 #3B2166
monochromatic
#171507 #383312 #665D21 #948730 #C1B040

Accessibility & contrast

On white

6.66
#665D21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#665D21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665D21
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665D21#FFFFFF#000000##FFFFFF
##665D211.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A1A
Deuteranopia (green-blind)
#685E24
Tritanopia (blue-blind)
#6E5650
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #665d21;
/* rgb */ color: rgb(102, 93, 33);
/* oklch */ color: oklch(47.4% 0.080 100.8);
Tailwind
colors: {
  custom: {
    50: '#948a5f',
    500: '#665d21',
    950: '#000000',
  },
}
SCSS
$custom: #665d21;
$custom-light: #948a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#665d21",
  "rgb": {
    "r": 102,
    "g": 93,
    "b": 33
  },
  "hsl": {
    "h": 52.174,
    "s": 51.111,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47417,
    "c": 0.08032,
    "h": 100.8
  },
  "luminance": 0.10763
}

Semantic roles & 50–950 ramp

primary
#665D21
secondary
#49539A
accent
#60DB4D
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0B05
muted
#7E7C79

Preview Lab

Preview with #665D21

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

Preview Lab → · Contrast checker → · Palette generator →

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