#666017#666017

#666017 is a mid, moderate yellow. Relative luminance 0.113; OKLCH L 48.0% C 0.091 H 104.6°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#666017
RGBrgb(102, 96, 23)
HSLhsl(55, 63%, 25%)
HSVhsv(55, 77%, 40%)
CMYKcmyk(0%, 5.9%, 77.5%, 60%)
CIE-LABlab(40.00, -6.80, 39.98)
CIE-LCHlch(40.00, 40.55, 99.65°)
OKLaboklab(48.05% -0.0229 0.0882)
OKLCHoklch(48.05% 0.091 104.6)
XYZxyz(9.8174, 11.2528, 2.4653)
Luminance0.1125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666017 #171D66
analogous
#663917 #666017 #456617
triadic
#666017 #176660 #601766
tetradic
#666017 #176639 #171D66 #661745
square
#666017 #176639 #171D66 #661745
split-complementary
#666017 #174566 #391766
monochromatic
#191806 #34310C #666017 #988F22 #CABE2E

Accessibility & contrast

On white

6.46
#666017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#666017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666017
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666017#FFFFFF#000000##FFFFFF
##6660171.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C09
Deuteranopia (green-blind)
#6B601C
Tritanopia (blue-blind)
#6E5952
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #666017;
/* rgb */ color: rgb(102, 96, 23);
/* oklch */ color: oklch(48.0% 0.091 104.6);
Tailwind
colors: {
  custom: {
    50: '#948c5a',
    500: '#666017',
    950: '#000000',
  },
}
SCSS
$custom: #666017;
$custom-light: #948c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#666017",
  "rgb": {
    "r": 102,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 55.443,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.48046,
    "c": 0.09111,
    "h": 104.6
  },
  "luminance": 0.11252
}

Semantic roles & 50–950 ramp

primary
#666017
secondary
#3C449C
accent
#4EE642
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #666017

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

Preview Lab → · Contrast checker → · Palette generator →

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