#666C15#666C15

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

Color values

HEX#666C15
RGBrgb(102, 108, 21)
HSLhsl(64, 67%, 25%)
HSVhsv(64, 81%, 42%)
CMYKcmyk(5.6%, 0%, 80.6%, 57.6%)
CIE-LABlab(43.66, -13.66, 44.13)
CIE-LCHlch(43.66, 46.20, 107.19°)
OKLaboklab(50.96% -0.0423 0.0966)
OKLCHoklch(50.96% 0.105 113.6)
XYZxyz(10.9778, 13.6043, 2.7569)
Luminance0.1360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666C15 #1B156C
analogous
#6C4615 #666C15 #3A6C15
triadic
#666C15 #15666C #6C1566
tetradic
#666C15 #156C46 #1B156C #6C153A
square
#666C15 #156C46 #1B156C #6C153A
split-complementary
#666C15 #153A6C #46156C
monochromatic
#181A05 #36390B #666C15 #969F1F #C7D229

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##666C15#FFFFFF#000000##FFFFFF
##666C151.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)
#756601
Deuteranopia (green-blind)
#74681D
Tritanopia (blue-blind)
#6D655C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #666c15;
/* rgb */ color: rgb(102, 108, 21);
/* oklch */ color: oklch(51.0% 0.105 113.6);
Tailwind
colors: {
  custom: {
    50: '#95955b',
    500: '#666c15',
    950: '#000000',
  },
}
SCSS
$custom: #666c15;
$custom-light: #95955b;
$custom-dark: #000000;
JSON
{
  "hex": "#666c15",
  "rgb": {
    "r": 102,
    "g": 108,
    "b": 21
  },
  "hsl": {
    "h": 64.138,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.50963,
    "c": 0.10545,
    "h": 113.6
  },
  "luminance": 0.13604
}

Semantic roles & 50–950 ramp

primary
#666C15
secondary
#413AA3
accent
#3DEA49
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666C15

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

Preview Lab → · Contrast checker → · Palette generator →

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