#665A1F#665A1F

#665A1F is a mid, moderate yellow. Relative luminance 0.102; OKLCH L 46.7% C 0.079 H 97.7°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#665A1F
RGBrgb(102, 90, 31)
HSLhsl(50, 53%, 26%)
HSVhsv(50, 70%, 40%)
CMYKcmyk(0%, 11.8%, 69.6%, 60%)
CIE-LABlab(38.26, -2.81, 34.68)
CIE-LCHlch(38.26, 34.80, 94.63°)
OKLaboklab(46.69% -0.0106 0.0786)
OKLCHoklch(46.69% 0.079 97.7)
XYZxyz(9.3834, 10.2365, 2.7776)
Luminance0.1024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665A1F #1F2B66
analogous
#66361F #665A1F #4E661F
triadic
#665A1F #1F665A #5A1F66
tetradic
#665A1F #1F6636 #1F2B66 #661F4E
square
#665A1F #1F6636 #1F2B66 #661F4E
split-complementary
#665A1F #1F4E66 #361F66
monochromatic
#171507 #373111 #665A1F #95832D #C4AD3C

Accessibility & contrast

On white

6.89
#665A1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#665A1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665A1F
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665A1F#FFFFFF#000000##FFFFFF
##665A1F1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635818
Deuteranopia (green-blind)
#665C22
Tritanopia (blue-blind)
#6E534E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #665a1f;
/* rgb */ color: rgb(102, 90, 31);
/* oklch */ color: oklch(46.7% 0.079 97.7);
Tailwind
colors: {
  custom: {
    50: '#94885e',
    500: '#665a1f',
    950: '#000000',
  },
}
SCSS
$custom: #665a1f;
$custom-light: #94885e;
$custom-dark: #000000;
JSON
{
  "hex": "#665a1f",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 31
  },
  "hsl": {
    "h": 49.859,
    "s": 53.383,
    "l": 26.078
  },
  "oklch": {
    "l": 0.46685,
    "c": 0.07926,
    "h": 97.7
  },
  "luminance": 0.10236
}

Semantic roles & 50–950 ramp

primary
#665A1F
secondary
#46559A
accent
#64DD4B
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #665A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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