#666C17#666C17

#666C17 is a mid, moderate yellow. Relative luminance 0.136; OKLCH L 51.0% C 0.104 H 113.6°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#666C17
RGBrgb(102, 108, 23)
HSLhsl(64, 65%, 26%)
HSVhsv(64, 79%, 42%)
CMYKcmyk(5.6%, 0%, 78.7%, 57.6%)
CIE-LABlab(43.67, -13.56, 43.44)
CIE-LCHlch(43.67, 45.51, 107.34°)
OKLaboklab(50.98% -0.0418 0.0955)
OKLCHoklch(50.98% 0.104 113.6)
XYZxyz(10.9970, 13.6120, 2.8585)
Luminance0.1361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666C17 #1D176C
analogous
#6C4717 #666C17 #3B6C17
triadic
#666C17 #17666C #6C1766
tetradic
#666C17 #176C47 #1D176C #6C173B
square
#666C17 #176C47 #1D176C #6C173B
split-complementary
#666C17 #173B6C #47176C
monochromatic
#181905 #363A0C #666C17 #969E22 #C5D12C

Accessibility & contrast

On white

5.64
#666C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#666C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666C17
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666C17#FFFFFF#000000##FFFFFF
##666C171.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756604
Deuteranopia (green-blind)
#74681E
Tritanopia (blue-blind)
#6D655C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #666c17;
/* rgb */ color: rgb(102, 108, 23);
/* oklch */ color: oklch(51.0% 0.104 113.6);
Tailwind
colors: {
  custom: {
    50: '#94955c',
    500: '#666c17',
    950: '#000000',
  },
}
SCSS
$custom: #666c17;
$custom-light: #94955c;
$custom-dark: #000000;
JSON
{
  "hex": "#666c17",
  "rgb": {
    "r": 102,
    "g": 108,
    "b": 23
  },
  "hsl": {
    "h": 64.235,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.50976,
    "c": 0.10428,
    "h": 113.6
  },
  "luminance": 0.13612
}

Semantic roles & 50–950 ramp

primary
#666C17
secondary
#443DA2
accent
#40E84C
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666C17

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

Preview Lab → · Contrast checker → · Palette generator →

#666C17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva