#665A22#665A22

#665A22 is a mid, moderate yellow. Relative luminance 0.103; OKLCH L 46.7% C 0.077 H 97.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#665A22
RGBrgb(102, 90, 34)
HSLhsl(49, 50%, 27%)
HSVhsv(49, 67%, 40%)
CMYKcmyk(0%, 11.8%, 66.7%, 60%)
CIE-LABlab(38.29, -2.59, 33.23)
CIE-LCHlch(38.29, 33.33, 94.46°)
OKLaboklab(46.72% -0.0096 0.076)
OKLCHoklch(46.72% 0.077 97.2)
XYZxyz(9.4248, 10.2530, 2.9957)
Luminance0.1025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665A22 #222E66
analogous
#663822 #665A22 #506622
triadic
#665A22 #22665A #5A2266
tetradic
#665A22 #226638 #222E66 #662250
square
#665A22 #226638 #222E66 #662250
split-complementary
#665A22 #225066 #382266
monochromatic
#171408 #383213 #665A22 #948331 #C0AA42

Accessibility & contrast

On white

6.88
#665A22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #665A22
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665A22#FFFFFF#000000##FFFFFF
##665A221.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63581C
Deuteranopia (green-blind)
#665C25
Tritanopia (blue-blind)
#6E534E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #665a22;
/* rgb */ color: rgb(102, 90, 34);
/* oklch */ color: oklch(46.7% 0.077 97.2);
Tailwind
colors: {
  custom: {
    50: '#948860',
    500: '#665a22',
    950: '#000000',
  },
}
SCSS
$custom: #665a22;
$custom-light: #948860;
$custom-dark: #000000;
JSON
{
  "hex": "#665a22",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 34
  },
  "hsl": {
    "h": 49.412,
    "s": 50,
    "l": 26.667
  },
  "oklch": {
    "l": 0.46717,
    "c": 0.07658,
    "h": 97.2
  },
  "luminance": 0.10253
}

Semantic roles & 50–950 ramp

primary
#665A22
secondary
#4A589A
accent
#67DA4E
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B05
muted
#7E7C79

Preview Lab

Preview with #665A22

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

Preview Lab → · Contrast checker → · Palette generator →

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