#665C22#665C22

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

Color values

HEX#665C22
RGBrgb(102, 92, 34)
HSLhsl(51, 50%, 27%)
HSVhsv(51, 67%, 40%)
CMYKcmyk(0%, 9.8%, 66.7%, 60%)
CIE-LABlab(38.89, -3.78, 33.88)
CIE-LCHlch(38.89, 34.09, 96.36°)
OKLaboklab(47.19% -0.013 0.0774)
OKLCHoklch(47.19% 0.078 99.5)
XYZxyz(9.5958, 10.5950, 3.0527)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665C22 #222C66
analogous
#663A22 #665C22 #4E6622
triadic
#665C22 #22665C #5C2266
tetradic
#665C22 #22663A #222C66 #66224E
square
#665C22 #22663A #222C66 #66224E
split-complementary
#665C22 #224E66 #3A2266
monochromatic
#171508 #383313 #665C22 #948531 #C0AE42

Accessibility & contrast

On white

6.73
#665C22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #665C22
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665C22#FFFFFF#000000##FFFFFF
##665C221.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65591B
Deuteranopia (green-blind)
#685D25
Tritanopia (blue-blind)
#6E5550
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #665c22;
/* rgb */ color: rgb(102, 92, 34);
/* oklch */ color: oklch(47.2% 0.078 99.5);
Tailwind
colors: {
  custom: {
    50: '#948960',
    500: '#665c22',
    950: '#000000',
  },
}
SCSS
$custom: #665c22;
$custom-light: #948960;
$custom-dark: #000000;
JSON
{
  "hex": "#665c22",
  "rgb": {
    "r": 102,
    "g": 92,
    "b": 34
  },
  "hsl": {
    "h": 51.176,
    "s": 50,
    "l": 26.667
  },
  "oklch": {
    "l": 0.4719,
    "c": 0.07844,
    "h": 99.5
  },
  "luminance": 0.10595
}

Semantic roles & 50–950 ramp

primary
#665C22
secondary
#4A569A
accent
#63DA4E
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0B05
muted
#7E7C79

Preview Lab

Preview with #665C22

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

Preview Lab → · Contrast checker → · Palette generator →

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