#665F1F#665F1F

#665F1F is a mid, moderate yellow. Relative luminance 0.111; OKLCH L 47.9% C 0.084 H 103.1°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#665F1F
RGBrgb(102, 95, 31)
HSLhsl(54, 53%, 26%)
HSVhsv(54, 70%, 40%)
CMYKcmyk(0%, 6.9%, 69.6%, 60%)
CIE-LABlab(39.76, -5.74, 36.26)
CIE-LCHlch(39.76, 36.71, 99.00°)
OKLaboklab(47.87% -0.019 0.0819)
OKLCHoklch(47.87% 0.084 103.1)
XYZxyz(9.8194, 11.1085, 2.9230)
Luminance0.1111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665F1F #1F2666
analogous
#663B1F #665F1F #49661F
triadic
#665F1F #1F665F #5F1F66
tetradic
#665F1F #1F663B #1F2666 #661F49
square
#665F1F #1F663B #1F2666 #661F49
split-complementary
#665F1F #1F4966 #3B1F66
monochromatic
#171607 #373311 #665F1F #958B2D #C4B63C

Accessibility & contrast

On white

6.52
#665F1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#665F1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665F1F
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665F1F#FFFFFF#000000##FFFFFF
##665F1F1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C17
Deuteranopia (green-blind)
#6A5F23
Tritanopia (blue-blind)
#6E5852
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #665f1f;
/* rgb */ color: rgb(102, 95, 31);
/* oklch */ color: oklch(47.9% 0.084 103.1);
Tailwind
colors: {
  custom: {
    50: '#948c5e',
    500: '#665f1f',
    950: '#000000',
  },
}
SCSS
$custom: #665f1f;
$custom-light: #948c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#665f1f",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 31
  },
  "hsl": {
    "h": 54.085,
    "s": 53.383,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47874,
    "c": 0.08405,
    "h": 103.1
  },
  "luminance": 0.11108
}

Semantic roles & 50–950 ramp

primary
#665F1F
secondary
#464F9A
accent
#59DD4B
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C05
muted
#7E7D79

Preview Lab

Preview with #665F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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