#666F17#666F17

#666F17 is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 51.7% C 0.108 H 115.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#666F17
RGBrgb(102, 111, 23)
HSLhsl(66, 66%, 26%)
HSVhsv(66, 79%, 44%)
CMYKcmyk(8.1%, 0%, 79.3%, 56.5%)
CIE-LABlab(44.60, -15.20, 44.30)
CIE-LCHlch(44.60, 46.84, 108.94°)
OKLaboklab(51.72% -0.0463 0.0974)
OKLCHoklch(51.72% 0.108 115.5)
XYZxyz(11.3189, 14.2557, 2.9658)
Luminance0.1426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666F17 #20176F
analogous
#6F4C17 #666F17 #3A6F17
triadic
#666F17 #17666F #6F1766
tetradic
#666F17 #176F4C #20176F #6F173A
square
#666F17 #176F4C #20176F #6F173A
split-complementary
#666F17 #173A6F #4C176F
monochromatic
#171905 #373C0C #666F17 #95A222 #C2D32D

Accessibility & contrast

On white

5.45
#666F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#666F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666F17
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666F17#FFFFFF#000000##FFFFFF
##666F171.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776903
Deuteranopia (green-blind)
#776A1F
Tritanopia (blue-blind)
#6D685E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #666f17;
/* rgb */ color: rgb(102, 111, 23);
/* oklch */ color: oklch(51.7% 0.108 115.5);
Tailwind
colors: {
  custom: {
    50: '#95985c',
    500: '#666f17',
    950: '#000000',
  },
}
SCSS
$custom: #666f17;
$custom-light: #95985c;
$custom-dark: #000000;
JSON
{
  "hex": "#666f17",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 66.136,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51719,
    "c": 0.10783,
    "h": 115.5
  },
  "luminance": 0.14256
}

Semantic roles & 50–950 ramp

primary
#666F17
secondary
#483DA5
accent
#3FE951
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666F17

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

Preview Lab → · Contrast checker → · Palette generator →

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