#665C20#665C20

#665C20 is a mid, moderate yellow. Relative luminance 0.106; OKLCH L 47.2% C 0.080 H 99.8°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#665C20
RGBrgb(102, 92, 32)
HSLhsl(51, 52%, 26%)
HSVhsv(51, 69%, 40%)
CMYKcmyk(0%, 9.8%, 68.6%, 60%)
CIE-LABlab(38.87, -3.92, 34.84)
CIE-LCHlch(38.87, 35.06, 96.42°)
OKLaboklab(47.17% -0.0137 0.0791)
OKLCHoklch(47.17% 0.08 99.8)
XYZxyz(9.5678, 10.5838, 2.9051)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665C20 #202A66
analogous
#663920 #665C20 #4D6620
triadic
#665C20 #20665C #5C2066
tetradic
#665C20 #206639 #202A66 #66204D
square
#665C20 #206639 #202A66 #66204D
split-complementary
#665C20 #204D66 #392066
monochromatic
#171507 #373211 #665C20 #95862F #C2B03E

Accessibility & contrast

On white

6.74
#665C20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#665C20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665C20
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665C20#FFFFFF#000000##FFFFFF
##665C201.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655919
Deuteranopia (green-blind)
#685D23
Tritanopia (blue-blind)
#6E554F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #665c20;
/* rgb */ color: rgb(102, 92, 32);
/* oklch */ color: oklch(47.2% 0.080 99.8);
Tailwind
colors: {
  custom: {
    50: '#94895f',
    500: '#665c20',
    950: '#000000',
  },
}
SCSS
$custom: #665c20;
$custom-light: #94895f;
$custom-dark: #000000;
JSON
{
  "hex": "#665c20",
  "rgb": {
    "r": 102,
    "g": 92,
    "b": 32
  },
  "hsl": {
    "h": 51.429,
    "s": 52.239,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47169,
    "c": 0.08023,
    "h": 99.8
  },
  "luminance": 0.10583
}

Semantic roles & 50–950 ramp

primary
#665C20
secondary
#48539A
accent
#61DC4C
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0B05
muted
#7E7C79

Preview Lab

Preview with #665C20

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

Preview Lab → · Contrast checker → · Palette generator →

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