#665A20#665A20

#665A20 is a mid, moderate yellow. Relative luminance 0.102; OKLCH L 46.7% C 0.078 H 97.5°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#665A20
RGBrgb(102, 90, 32)
HSLhsl(50, 52%, 26%)
HSVhsv(50, 69%, 40%)
CMYKcmyk(0%, 11.8%, 68.6%, 60%)
CIE-LABlab(38.27, -2.74, 34.20)
CIE-LCHlch(38.27, 34.31, 94.58°)
OKLaboklab(46.7% -0.0103 0.0777)
OKLCHoklch(46.7% 0.078 97.5)
XYZxyz(9.3968, 10.2418, 2.8481)
Luminance0.1024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665A20 #202C66
analogous
#663720 #665A20 #4F6620
triadic
#665A20 #20665A #5A2066
tetradic
#665A20 #206637 #202C66 #66204F
square
#665A20 #206637 #202C66 #66204F
split-complementary
#665A20 #204F66 #372066
monochromatic
#171507 #373111 #665A20 #95832F #C2AC3E

Accessibility & contrast

On white

6.89
#665A20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#665A20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665A20
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665A20#FFFFFF#000000##FFFFFF
##665A201.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635819
Deuteranopia (green-blind)
#665C23
Tritanopia (blue-blind)
#6E534E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #665a20;
/* rgb */ color: rgb(102, 90, 32);
/* oklch */ color: oklch(46.7% 0.078 97.5);
Tailwind
colors: {
  custom: {
    50: '#94885e',
    500: '#665a20',
    950: '#000000',
  },
}
SCSS
$custom: #665a20;
$custom-light: #94885e;
$custom-dark: #000000;
JSON
{
  "hex": "#665a20",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 32
  },
  "hsl": {
    "h": 49.714,
    "s": 52.239,
    "l": 26.275
  },
  "oklch": {
    "l": 0.46695,
    "c": 0.0784,
    "h": 97.5
  },
  "luminance": 0.10241
}

Semantic roles & 50–950 ramp

primary
#665A20
secondary
#48569A
accent
#65DC4C
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #665A20

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

Preview Lab → · Contrast checker → · Palette generator →

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