#666117#666117

#666117 is a mid, moderate yellow. Relative luminance 0.114; OKLCH L 48.3% C 0.092 H 105.4°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#666117
RGBrgb(102, 97, 23)
HSLhsl(56, 63%, 25%)
HSVhsv(56, 77%, 40%)
CMYKcmyk(0%, 4.9%, 77.5%, 60%)
CIE-LABlab(40.31, -7.37, 40.27)
CIE-LCHlch(40.31, 40.93, 100.38°)
OKLaboklab(48.29% -0.0245 0.0888)
OKLCHoklch(48.29% 0.092 105.4)
XYZxyz(9.9092, 11.4364, 2.4959)
Luminance0.1144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666117 #171C66
analogous
#663A17 #666117 #436617
triadic
#666117 #176661 #611766
tetradic
#666117 #17663A #171C66 #661743
square
#666117 #17663A #171C66 #661743
split-complementary
#666117 #174366 #3A1766
monochromatic
#191806 #34320C #666117 #989022 #CAC02E

Accessibility & contrast

On white

6.39
#666117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#666117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666117
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666117#FFFFFF#000000##FFFFFF
##6661171.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D09
Deuteranopia (green-blind)
#6C601C
Tritanopia (blue-blind)
#6E5A53
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #666117;
/* rgb */ color: rgb(102, 97, 23);
/* oklch */ color: oklch(48.3% 0.092 105.4);
Tailwind
colors: {
  custom: {
    50: '#948d5a',
    500: '#666117',
    950: '#000000',
  },
}
SCSS
$custom: #666117;
$custom-light: #948d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#666117",
  "rgb": {
    "r": 102,
    "g": 97,
    "b": 23
  },
  "hsl": {
    "h": 56.203,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.48287,
    "c": 0.09212,
    "h": 105.4
  },
  "luminance": 0.11436
}

Semantic roles & 50–950 ramp

primary
#666117
secondary
#3C439C
accent
#4CE642
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #666117

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

Preview Lab → · Contrast checker → · Palette generator →

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