#665B20#665B20

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

Color values

HEX#665B20
RGBrgb(102, 91, 32)
HSLhsl(51, 52%, 26%)
HSVhsv(51, 69%, 40%)
CMYKcmyk(0%, 10.8%, 68.6%, 60%)
CIE-LABlab(38.57, -3.33, 34.52)
CIE-LCHlch(38.57, 34.68, 95.51°)
OKLaboklab(46.93% -0.012 0.0784)
OKLCHoklch(46.93% 0.079 98.7)
XYZxyz(9.4817, 10.4117, 2.8764)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665B20 #202B66
analogous
#663820 #665B20 #4E6620
triadic
#665B20 #20665B #5B2066
tetradic
#665B20 #206638 #202B66 #66204E
square
#665B20 #206638 #202B66 #66204E
split-complementary
#665B20 #204E66 #382066
monochromatic
#171507 #373111 #665B20 #95852F #C2AE3E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##665B20#FFFFFF#000000##FFFFFF
##665B201.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)
#645919
Deuteranopia (green-blind)
#675D23
Tritanopia (blue-blind)
#6E544F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #665b20;
/* rgb */ color: rgb(102, 91, 32);
/* oklch */ color: oklch(46.9% 0.079 98.7);
Tailwind
colors: {
  custom: {
    50: '#94895f',
    500: '#665b20',
    950: '#000000',
  },
}
SCSS
$custom: #665b20;
$custom-light: #94895f;
$custom-dark: #000000;
JSON
{
  "hex": "#665b20",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 32
  },
  "hsl": {
    "h": 50.571,
    "s": 52.239,
    "l": 26.275
  },
  "oklch": {
    "l": 0.46932,
    "c": 0.0793,
    "h": 98.7
  },
  "luminance": 0.10411
}

Semantic roles & 50–950 ramp

primary
#665B20
secondary
#48559A
accent
#63DC4C
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B05
muted
#7E7C79

Preview Lab

Preview with #665B20

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

Preview Lab → · Contrast checker → · Palette generator →

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