#666316#666316

#666316 is a mid, moderate yellow. Relative luminance 0.118; OKLCH L 48.8% C 0.095 H 107.2°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#666316
RGBrgb(102, 99, 22)
HSLhsl(58, 65%, 24%)
HSVhsv(58, 78%, 40%)
CMYKcmyk(0%, 2.9%, 78.4%, 60%)
CIE-LABlab(40.91, -8.57, 41.22)
CIE-LCHlch(40.91, 42.10, 101.74°)
OKLaboklab(48.76% -0.028 0.0906)
OKLCHoklch(48.76% 0.095 107.2)
XYZxyz(10.0865, 11.8067, 2.5065)
Luminance0.1181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666316 #161966
analogous
#663B16 #666316 #416616
triadic
#666316 #166663 #631666
tetradic
#666316 #16663B #161966 #661641
square
#666316 #16663B #161966 #661641
split-complementary
#666316 #164166 #3B1666
monochromatic
#191805 #34320B #666316 #989421 #CBC52C

Accessibility & contrast

On white

6.25
#666316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#666316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666316
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666316#FFFFFF#000000##FFFFFF
##6663161.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F06
Deuteranopia (green-blind)
#6D621C
Tritanopia (blue-blind)
#6E5C54
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #666316;
/* rgb */ color: rgb(102, 99, 22);
/* oklch */ color: oklch(48.8% 0.095 107.2);
Tailwind
colors: {
  custom: {
    50: '#958f5a',
    500: '#666316',
    950: '#000000',
  },
}
SCSS
$custom: #666316;
$custom-light: #958f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#666316",
  "rgb": {
    "r": 102,
    "g": 99,
    "b": 22
  },
  "hsl": {
    "h": 57.75,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.48764,
    "c": 0.09485,
    "h": 107.2
  },
  "luminance": 0.11806
}

Semantic roles & 50–950 ramp

primary
#666316
secondary
#3B3F9D
accent
#47E840
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #666316

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

Preview Lab → · Contrast checker → · Palette generator →

#666316 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva