#666E17#666E17

#666E17 is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 51.5% C 0.107 H 114.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#666E17
RGBrgb(102, 110, 23)
HSLhsl(66, 65%, 26%)
HSVhsv(66, 79%, 43%)
CMYKcmyk(7.3%, 0%, 79.1%, 56.9%)
CIE-LABlab(44.29, -14.66, 44.02)
CIE-LCHlch(44.29, 46.39, 108.42°)
OKLaboklab(51.47% -0.0448 0.0968)
OKLCHoklch(51.47% 0.107 114.9)
XYZxyz(11.2104, 14.0387, 2.9296)
Luminance0.1404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666E17 #1F176E
analogous
#6E4A17 #666E17 #3A6E17
triadic
#666E17 #17666E #6E1766
tetradic
#666E17 #176E4A #1F176E #6E173A
square
#666E17 #176E4A #1F176E #6E173A
split-complementary
#666E17 #173A6E #4A176E
monochromatic
#171905 #373B0C #666E17 #95A122 #C4D32C

Accessibility & contrast

On white

5.51
#666E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#666E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666E17
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666E17#FFFFFF#000000##FFFFFF
##666E171.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766803
Deuteranopia (green-blind)
#76691F
Tritanopia (blue-blind)
#6D675E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #666e17;
/* rgb */ color: rgb(102, 110, 23);
/* oklch */ color: oklch(51.5% 0.107 114.9);
Tailwind
colors: {
  custom: {
    50: '#95975c',
    500: '#666e17',
    950: '#000000',
  },
}
SCSS
$custom: #666e17;
$custom-light: #95975c;
$custom-dark: #000000;
JSON
{
  "hex": "#666e17",
  "rgb": {
    "r": 102,
    "g": 110,
    "b": 23
  },
  "hsl": {
    "h": 65.517,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.51471,
    "c": 0.10664,
    "h": 114.9
  },
  "luminance": 0.14039
}

Semantic roles & 50–950 ramp

primary
#666E17
secondary
#463DA4
accent
#3FE84F
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666E17

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

Preview Lab → · Contrast checker → · Palette generator →

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