#665B16#665B16

#665B16 is a mid, moderate yellow. Relative luminance 0.104; OKLCH L 46.8% C 0.087 H 99.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#665B16
RGBrgb(102, 91, 22)
HSLhsl(52, 65%, 24%)
HSVhsv(52, 78%, 40%)
CMYKcmyk(0%, 10.8%, 78.4%, 60%)
CIE-LABlab(38.49, -3.93, 38.93)
CIE-LCHlch(38.49, 39.13, 95.76°)
OKLaboklab(46.84% -0.0149 0.0858)
OKLCHoklch(46.84% 0.087 99.9)
XYZxyz(9.3658, 10.3653, 2.2663)
Luminance0.1037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665B16 #162166
analogous
#663316 #665B16 #496616
triadic
#665B16 #16665B #5B1666
tetradic
#665B16 #166633 #162166 #661649
square
#665B16 #166633 #162166 #661649
split-complementary
#665B16 #164966 #331666
monochromatic
#191605 #342E0B #665B16 #988821 #CBB52C

Accessibility & contrast

On white

6.83
#665B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#665B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665B16
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665B16#FFFFFF#000000##FFFFFF
##665B161.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64580A
Deuteranopia (green-blind)
#675C1B
Tritanopia (blue-blind)
#6E544E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #665b16;
/* rgb */ color: rgb(102, 91, 22);
/* oklch */ color: oklch(46.8% 0.087 99.9);
Tailwind
colors: {
  custom: {
    50: '#958959',
    500: '#665b16',
    950: '#000000',
  },
}
SCSS
$custom: #665b16;
$custom-light: #958959;
$custom-dark: #000000;
JSON
{
  "hex": "#665b16",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 22
  },
  "hsl": {
    "h": 51.75,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46842,
    "c": 0.08706,
    "h": 99.9
  },
  "luminance": 0.10365
}

Semantic roles & 50–950 ramp

primary
#665B16
secondary
#3B499D
accent
#57E840
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0B04
muted
#7E7C79

Preview Lab

Preview with #665B16

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

Preview Lab → · Contrast checker → · Palette generator →

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