#665A1C#665A1C

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

Color values

HEX#665A1C
RGBrgb(102, 90, 28)
HSLhsl(50, 57%, 25%)
HSVhsv(50, 73%, 40%)
CMYKcmyk(0%, 11.8%, 72.5%, 60%)
CIE-LABlab(38.24, -3.00, 36.07)
CIE-LCHlch(38.24, 36.20, 94.76°)
OKLaboklab(46.66% -0.0116 0.0809)
OKLCHoklch(46.66% 0.082 98.1)
XYZxyz(9.3457, 10.2214, 2.5790)
Luminance0.1022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665A1C #1C2866
analogous
#66351C #665A1C #4D661C
triadic
#665A1C #1C665A #5A1C66
tetradic
#665A1C #1C6635 #1C2866 #661C4D
square
#665A1C #1C6635 #1C2866 #661C4D
split-complementary
#665A1C #1C4D66 #351C66
monochromatic
#181507 #36300F #665A1C #968429 #C6AF36

Accessibility & contrast

On white

6.90
#665A1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#665A1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665A1C
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665A1C#FFFFFF#000000##FFFFFF
##665A1C1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635814
Deuteranopia (green-blind)
#665C20
Tritanopia (blue-blind)
#6E534D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #665a1c;
/* rgb */ color: rgb(102, 90, 28);
/* oklch */ color: oklch(46.7% 0.082 98.1);
Tailwind
colors: {
  custom: {
    50: '#94885c',
    500: '#665a1c',
    950: '#000000',
  },
}
SCSS
$custom: #665a1c;
$custom-light: #94885c;
$custom-dark: #000000;
JSON
{
  "hex": "#665a1c",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 28
  },
  "hsl": {
    "h": 50.27,
    "s": 56.923,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46655,
    "c": 0.08176,
    "h": 98.1
  },
  "luminance": 0.10221
}

Semantic roles & 50–950 ramp

primary
#665A1C
secondary
#43519B
accent
#60E048
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #665A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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