#665D1F#665D1F

#665D1F is a mid, moderate yellow. Relative luminance 0.108; OKLCH L 47.4% C 0.082 H 101.0°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#665D1F
RGBrgb(102, 93, 31)
HSLhsl(52, 53%, 26%)
HSVhsv(52, 70%, 40%)
CMYKcmyk(0%, 8.8%, 69.6%, 60%)
CIE-LABlab(39.16, -4.57, 35.63)
CIE-LCHlch(39.16, 35.92, 97.32°)
OKLaboklab(47.4% -0.0157 0.0806)
OKLCHoklch(47.4% 0.082 101)
XYZxyz(9.6416, 10.7528, 2.8637)
Luminance0.1075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665D1F #1F2866
analogous
#66391F #665D1F #4B661F
triadic
#665D1F #1F665D #5D1F66
tetradic
#665D1F #1F6639 #1F2866 #661F4B
square
#665D1F #1F6639 #1F2866 #661F4B
split-complementary
#665D1F #1F4B66 #391F66
monochromatic
#171507 #373211 #665D1F #95882D #C4B23C

Accessibility & contrast

On white

6.67
#665D1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#665D1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665D1F
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665D1F#FFFFFF#000000##FFFFFF
##665D1F1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A17
Deuteranopia (green-blind)
#695E23
Tritanopia (blue-blind)
#6E5650
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #665d1f;
/* rgb */ color: rgb(102, 93, 31);
/* oklch */ color: oklch(47.4% 0.082 101.0);
Tailwind
colors: {
  custom: {
    50: '#948a5e',
    500: '#665d1f',
    950: '#000000',
  },
}
SCSS
$custom: #665d1f;
$custom-light: #948a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#665d1f",
  "rgb": {
    "r": 102,
    "g": 93,
    "b": 31
  },
  "hsl": {
    "h": 52.394,
    "s": 53.383,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47396,
    "c": 0.08206,
    "h": 101
  },
  "luminance": 0.10752
}

Semantic roles & 50–950 ramp

primary
#665D1F
secondary
#46519A
accent
#5EDD4B
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #665D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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