#665B1B#665B1B

#665B1B is a mid, moderate yellow. Relative luminance 0.104; OKLCH L 46.9% C 0.083 H 99.3°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#665B1B
RGBrgb(102, 91, 27)
HSLhsl(51, 58%, 25%)
HSVhsv(51, 74%, 40%)
CMYKcmyk(0%, 10.8%, 73.5%, 60%)
CIE-LABlab(38.53, -3.65, 36.83)
CIE-LCHlch(38.53, 37.01, 95.67°)
OKLaboklab(46.88% -0.0135 0.0823)
OKLCHoklch(46.88% 0.083 99.3)
XYZxyz(9.4188, 10.3865, 2.5454)
Luminance0.1039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665B1B #1B2666
analogous
#66351B #665B1B #4B661B
triadic
#665B1B #1B665B #5B1B66
tetradic
#665B1B #1B6635 #1B2666 #661B4B
square
#665B1B #1B6635 #1B2666 #661B4B
split-complementary
#665B1B #1B4B66 #351B66
monochromatic
#181606 #36300E #665B1B #968628 #C7B135

Accessibility & contrast

On white

6.82
#665B1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#665B1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665B1B
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665B1B#FFFFFF#000000##FFFFFF
##665B1B1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645812
Deuteranopia (green-blind)
#675C1F
Tritanopia (blue-blind)
#6E544E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #665b1b;
/* rgb */ color: rgb(102, 91, 27);
/* oklch */ color: oklch(46.9% 0.083 99.3);
Tailwind
colors: {
  custom: {
    50: '#94895c',
    500: '#665b1b',
    950: '#000000',
  },
}
SCSS
$custom: #665b1b;
$custom-light: #94895c;
$custom-dark: #000000;
JSON
{
  "hex": "#665b1b",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 27
  },
  "hsl": {
    "h": 51.2,
    "s": 58.14,
    "l": 25.294
  },
  "oklch": {
    "l": 0.46883,
    "c": 0.08345,
    "h": 99.3
  },
  "luminance": 0.10386
}

Semantic roles & 50–950 ramp

primary
#665B1B
secondary
#414F9B
accent
#5DE146
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0B04
muted
#7E7C79

Preview Lab

Preview with #665B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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