#665F1B#665F1B

#665F1B is a mid, moderate yellow. Relative luminance 0.111; OKLCH L 47.8% C 0.087 H 103.4°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#665F1B
RGBrgb(102, 95, 27)
HSLhsl(54, 58%, 25%)
HSVhsv(54, 74%, 40%)
CMYKcmyk(0%, 6.9%, 73.5%, 60%)
CIE-LABlab(39.73, -6.00, 38.04)
CIE-LCHlch(39.73, 38.51, 98.96°)
OKLaboklab(47.84% -0.0202 0.0849)
OKLCHoklch(47.84% 0.087 103.4)
XYZxyz(9.7699, 11.0887, 2.6624)
Luminance0.1109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665F1B #1B2266
analogous
#66391B #665F1B #47661B
triadic
#665F1B #1B665F #5F1B66
tetradic
#665F1B #1B6639 #1B2266 #661B47
square
#665F1B #1B6639 #1B2266 #661B47
split-complementary
#665F1B #1B4766 #391B66
monochromatic
#181706 #36320E #665F1B #968C28 #C7B935

Accessibility & contrast

On white

6.53
#665F1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #665F1B
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665F1B#FFFFFF#000000##FFFFFF
##665F1B1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C11
Deuteranopia (green-blind)
#6A5F1F
Tritanopia (blue-blind)
#6E5851
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #665f1b;
/* rgb */ color: rgb(102, 95, 27);
/* oklch */ color: oklch(47.8% 0.087 103.4);
Tailwind
colors: {
  custom: {
    50: '#948c5c',
    500: '#665f1b',
    950: '#000000',
  },
}
SCSS
$custom: #665f1b;
$custom-light: #948c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#665f1b",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 27
  },
  "hsl": {
    "h": 54.4,
    "s": 58.14,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47837,
    "c": 0.08726,
    "h": 103.4
  },
  "luminance": 0.11088
}

Semantic roles & 50–950 ramp

primary
#665F1B
secondary
#414A9B
accent
#55E146
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #665F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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