#665A16#665A16

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

Color values

HEX#665A16
RGBrgb(102, 90, 22)
HSLhsl(51, 65%, 24%)
HSVhsv(51, 78%, 40%)
CMYKcmyk(0%, 11.8%, 78.4%, 60%)
CIE-LABlab(38.19, -3.34, 38.65)
CIE-LCHlch(38.19, 38.79, 94.94°)
OKLaboklab(46.6% -0.0132 0.0852)
OKLCHoklch(46.6% 0.086 98.8)
XYZxyz(9.2809, 10.1955, 2.2380)
Luminance0.1019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665A16 #162266
analogous
#663216 #665A16 #4A6616
triadic
#665A16 #16665A #5A1666
tetradic
#665A16 #166632 #162266 #66164A
square
#665A16 #166632 #162266 #66164A
split-complementary
#665A16 #164A66 #321666
monochromatic
#191605 #342E0B #665A16 #988621 #CBB32C

Accessibility & contrast

On white

6.91
#665A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #665A16
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665A16#FFFFFF#000000##FFFFFF
##665A161.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64570A
Deuteranopia (green-blind)
#675C1A
Tritanopia (blue-blind)
#6F534D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #665a16;
/* rgb */ color: rgb(102, 90, 22);
/* oklch */ color: oklch(46.6% 0.086 98.8);
Tailwind
colors: {
  custom: {
    50: '#958859',
    500: '#665a16',
    950: '#000000',
  },
}
SCSS
$custom: #665a16;
$custom-light: #958859;
$custom-dark: #000000;
JSON
{
  "hex": "#665a16",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 22
  },
  "hsl": {
    "h": 51,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46604,
    "c": 0.08619,
    "h": 98.8
  },
  "luminance": 0.10195
}

Semantic roles & 50–950 ramp

primary
#665A16
secondary
#3B4A9D
accent
#59E840
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0B04
muted
#7E7C79

Preview Lab

Preview with #665A16

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

Preview Lab → · Contrast checker → · Palette generator →

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