#665A1B#665A1B

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

Color values

HEX#665A1B
RGBrgb(102, 90, 27)
HSLhsl(50, 58%, 25%)
HSVhsv(50, 74%, 40%)
CMYKcmyk(0%, 11.8%, 73.5%, 60%)
CIE-LABlab(38.23, -3.06, 36.52)
CIE-LCHlch(38.23, 36.65, 94.79°)
OKLaboklab(46.65% -0.0119 0.0817)
OKLCHoklch(46.65% 0.083 98.3)
XYZxyz(9.3339, 10.2167, 2.5171)
Luminance0.1022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665A1B #1B2766
analogous
#66341B #665A1B #4C661B
triadic
#665A1B #1B665A #5A1B66
tetradic
#665A1B #1B6634 #1B2766 #661B4C
square
#665A1B #1B6634 #1B2766 #661B4C
split-complementary
#665A1B #1B4C66 #341B66
monochromatic
#181506 #362F0E #665A1B #968528 #C7AF35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##665A1B#FFFFFF#000000##FFFFFF
##665A1B1.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)
#635812
Deuteranopia (green-blind)
#675C1F
Tritanopia (blue-blind)
#6E534D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #665a1b;
/* rgb */ color: rgb(102, 90, 27);
/* oklch */ color: oklch(46.6% 0.083 98.3);
Tailwind
colors: {
  custom: {
    50: '#94885c',
    500: '#665a1b',
    950: '#000000',
  },
}
SCSS
$custom: #665a1b;
$custom-light: #94885c;
$custom-dark: #000000;
JSON
{
  "hex": "#665a1b",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 27
  },
  "hsl": {
    "h": 50.4,
    "s": 58.14,
    "l": 25.294
  },
  "oklch": {
    "l": 0.46646,
    "c": 0.08256,
    "h": 98.3
  },
  "luminance": 0.10216
}

Semantic roles & 50–950 ramp

primary
#665A1B
secondary
#41509B
accent
#5FE146
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0B04
muted
#7E7C79

Preview Lab

Preview with #665A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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