#666C14#666C14

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

Color values

HEX#666C14
RGBrgb(102, 108, 20)
HSLhsl(64, 69%, 25%)
HSVhsv(64, 81%, 42%)
CMYKcmyk(5.6%, 0%, 81.5%, 57.6%)
CIE-LABlab(43.65, -13.70, 44.47)
CIE-LCHlch(43.65, 46.53, 107.13°)
OKLaboklab(50.96% -0.0425 0.0971)
OKLCHoklch(50.96% 0.106 113.6)
XYZxyz(10.9687, 13.6006, 2.7091)
Luminance0.1360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666C14 #1A146C
analogous
#6C4614 #666C14 #3A6C14
triadic
#666C14 #14666C #6C1466
tetradic
#666C14 #146C46 #1A146C #6C143A
square
#666C14 #146C46 #1A146C #6C143A
split-complementary
#666C14 #143A6C #46146C
monochromatic
#181A05 #35380A #666C14 #97A01E #C8D327

Accessibility & contrast

On white

5.65
#666C14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #666C14
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666C14#FFFFFF#000000##FFFFFF
##666C141.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#75681C
Tritanopia (blue-blind)
#6D655C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #666c14;
/* rgb */ color: rgb(102, 108, 20);
/* oklch */ color: oklch(51.0% 0.106 113.6);
Tailwind
colors: {
  custom: {
    50: '#95955a',
    500: '#666c14',
    950: '#000000',
  },
}
SCSS
$custom: #666c14;
$custom-light: #95955a;
$custom-dark: #000000;
JSON
{
  "hex": "#666c14",
  "rgb": {
    "r": 102,
    "g": 108,
    "b": 20
  },
  "hsl": {
    "h": 64.091,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.50957,
    "c": 0.106,
    "h": 113.6
  },
  "luminance": 0.136
}

Semantic roles & 50–950 ramp

primary
#666C14
secondary
#4039A3
accent
#3CEC48
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666C14

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

Preview Lab → · Contrast checker → · Palette generator →

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