#665D20#665D20

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

Color values

HEX#665D20
RGBrgb(102, 93, 32)
HSLhsl(52, 52%, 26%)
HSVhsv(52, 69%, 40%)
CMYKcmyk(0%, 8.8%, 68.6%, 60%)
CIE-LABlab(39.17, -4.51, 35.16)
CIE-LCHlch(39.17, 35.45, 97.30°)
OKLaboklab(47.41% -0.0153 0.0797)
OKLCHoklch(47.41% 0.081 100.9)
XYZxyz(9.6549, 10.7582, 2.9342)
Luminance0.1076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665D20 #202966
analogous
#663A20 #665D20 #4C6620
triadic
#665D20 #20665D #5D2066
tetradic
#665D20 #20663A #202966 #66204C
square
#665D20 #20663A #202966 #66204C
split-complementary
#665D20 #204C66 #3A2066
monochromatic
#171507 #373311 #665D20 #95872F #C2B13E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##665D20#FFFFFF#000000##FFFFFF
##665D201.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)
#665A18
Deuteranopia (green-blind)
#685E23
Tritanopia (blue-blind)
#6E5650
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #665d20;
/* rgb */ color: rgb(102, 93, 32);
/* oklch */ color: oklch(47.4% 0.081 100.9);
Tailwind
colors: {
  custom: {
    50: '#948a5f',
    500: '#665d20',
    950: '#000000',
  },
}
SCSS
$custom: #665d20;
$custom-light: #948a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#665d20",
  "rgb": {
    "r": 102,
    "g": 93,
    "b": 32
  },
  "hsl": {
    "h": 52.286,
    "s": 52.239,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47407,
    "c": 0.0812,
    "h": 100.9
  },
  "luminance": 0.10758
}

Semantic roles & 50–950 ramp

primary
#665D20
secondary
#48529A
accent
#5FDC4C
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0B05
muted
#7E7C79

Preview Lab

Preview with #665D20

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

Preview Lab → · Contrast checker → · Palette generator →

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