#665B1F#665B1F

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

Color values

HEX#665B1F
RGBrgb(102, 91, 31)
HSLhsl(51, 53%, 26%)
HSVhsv(51, 70%, 40%)
CMYKcmyk(0%, 10.8%, 69.6%, 60%)
CIE-LABlab(38.56, -3.40, 35.00)
CIE-LCHlch(38.56, 35.16, 95.55°)
OKLaboklab(46.92% -0.0123 0.0792)
OKLCHoklch(46.92% 0.08 98.8)
XYZxyz(9.4683, 10.4063, 2.8059)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665B1F #1F2A66
analogous
#66371F #665B1F #4D661F
triadic
#665B1F #1F665B #5B1F66
tetradic
#665B1F #1F6637 #1F2A66 #661F4D
square
#665B1F #1F6637 #1F2A66 #661F4D
split-complementary
#665B1F #1F4D66 #371F66
monochromatic
#171507 #373111 #665B1F #95852D #C4AF3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##665B1F#FFFFFF#000000##FFFFFF
##665B1F1.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)
#645918
Deuteranopia (green-blind)
#675C22
Tritanopia (blue-blind)
#6E544E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #665b1f;
/* rgb */ color: rgb(102, 91, 31);
/* oklch */ color: oklch(46.9% 0.080 98.8);
Tailwind
colors: {
  custom: {
    50: '#94895e',
    500: '#665b1f',
    950: '#000000',
  },
}
SCSS
$custom: #665b1f;
$custom-light: #94895e;
$custom-dark: #000000;
JSON
{
  "hex": "#665b1f",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 31
  },
  "hsl": {
    "h": 50.704,
    "s": 53.383,
    "l": 26.078
  },
  "oklch": {
    "l": 0.46921,
    "c": 0.08017,
    "h": 98.8
  },
  "luminance": 0.10406
}

Semantic roles & 50–950 ramp

primary
#665B1F
secondary
#46539A
accent
#62DD4B
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #665B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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