#666E16#666E16

#666E16 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.52:1 contrast (WCAG AA passes).

Color values

HEX#666E16
RGBrgb(102, 110, 22)
HSLhsl(65, 67%, 26%)
HSVhsv(65, 80%, 43%)
CMYKcmyk(7.3%, 0%, 80%, 56.9%)
CIE-LABlab(44.28, -14.71, 44.36)
CIE-LCHlch(44.28, 46.73, 108.34°)
OKLaboklab(51.46% -0.0451 0.0973)
OKLCHoklch(51.46% 0.107 114.9)
XYZxyz(11.2006, 14.0348, 2.8779)
Luminance0.1404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666E16 #1E166E
analogous
#6E4A16 #666E16 #3A6E16
triadic
#666E16 #16666E #6E1666
tetradic
#666E16 #166E4A #1E166E #6E163A
square
#666E16 #166E4A #1E166E #6E163A
split-complementary
#666E16 #163A6E #4A166E
monochromatic
#181A05 #373B0C #666E16 #95A120 #C5D42A

Accessibility & contrast

On white

5.52
#666E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #666E16
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666E16#FFFFFF#000000##FFFFFF
##666E161.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #666e16;
/* rgb */ color: rgb(102, 110, 22);
/* oklch */ color: oklch(51.5% 0.107 114.9);
Tailwind
colors: {
  custom: {
    50: '#95975b',
    500: '#666e16',
    950: '#000000',
  },
}
SCSS
$custom: #666e16;
$custom-light: #95975b;
$custom-dark: #000000;
JSON
{
  "hex": "#666e16",
  "rgb": {
    "r": 102,
    "g": 110,
    "b": 22
  },
  "hsl": {
    "h": 65.455,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.51464,
    "c": 0.10722,
    "h": 114.9
  },
  "luminance": 0.14035
}

Semantic roles & 50–950 ramp

primary
#666E16
secondary
#453CA4
accent
#3EEA4E
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666E16

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

Preview Lab → · Contrast checker → · Palette generator →

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