#665B26#665B26

#665B26 is a mid, moderate yellow. Relative luminance 0.104; OKLCH L 47.0% C 0.074 H 97.7°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#665B26
RGBrgb(102, 91, 38)
HSLhsl(50, 46%, 27%)
HSVhsv(50, 63%, 40%)
CMYKcmyk(0%, 10.8%, 62.7%, 60%)
CIE-LABlab(38.63, -2.87, 31.55)
CIE-LCHlch(38.63, 31.68, 95.20°)
OKLaboklab(47% -0.0099 0.073)
OKLCHoklch(47% 0.074 97.7)
XYZxyz(9.5708, 10.4473, 3.3457)
Luminance0.1045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665B26 #263166
analogous
#663B26 #665B26 #516626
triadic
#665B26 #26665B #5B2666
tetradic
#665B26 #26663B #263166 #662651
square
#665B26 #26663B #263166 #662651
split-complementary
#665B26 #265166 #3B2666
monochromatic
#161408 #393315 #665B26 #938337 #BCA84B

Accessibility & contrast

On white

6.80
#665B26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#665B26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665B26
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665B26#FFFFFF#000000##FFFFFF
##665B261.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645921
Deuteranopia (green-blind)
#675D29
Tritanopia (blue-blind)
#6E554F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #665b26;
/* rgb */ color: rgb(102, 91, 38);
/* oklch */ color: oklch(47.0% 0.074 97.7);
Tailwind
colors: {
  custom: {
    50: '#948962',
    500: '#665b26',
    950: '#000000',
  },
}
SCSS
$custom: #665b26;
$custom-light: #948962;
$custom-dark: #000000;
JSON
{
  "hex": "#665b26",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 38
  },
  "hsl": {
    "h": 49.688,
    "s": 45.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.47001,
    "c": 0.07367,
    "h": 97.7
  },
  "luminance": 0.10447
}

Semantic roles & 50–950 ramp

primary
#665B26
secondary
#4F5C99
accent
#69D552
background
#F9F8F5
surface
#F2F0EA
border
#CCCBC6
text
#0D0B05
muted
#7E7C79

Preview Lab

Preview with #665B26

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

Preview Lab → · Contrast checker → · Palette generator →

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