#666C18#666C18

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

Color values

HEX#666C18
RGBrgb(102, 108, 24)
HSLhsl(64, 64%, 26%)
HSVhsv(64, 78%, 42%)
CMYKcmyk(5.6%, 0%, 77.8%, 57.6%)
CIE-LABlab(43.68, -13.51, 43.08)
CIE-LCHlch(43.68, 45.15, 107.42°)
OKLaboklab(50.98% -0.0416 0.095)
OKLCHoklch(50.98% 0.104 113.6)
XYZxyz(11.0073, 13.6161, 2.9123)
Luminance0.1362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666C18 #1E186C
analogous
#6C4818 #666C18 #3C6C18
triadic
#666C18 #18666C #6C1866
tetradic
#666C18 #186C48 #1E186C #6C183C
square
#666C18 #186C48 #1E186C #6C183C
split-complementary
#666C18 #183C6C #48186C
monochromatic
#181906 #373A0D #666C18 #959E23 #C5D02E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##666C18#FFFFFF#000000##FFFFFF
##666C181.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)
#746606
Deuteranopia (green-blind)
#74681F
Tritanopia (blue-blind)
#6D655C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #666c18;
/* rgb */ color: rgb(102, 108, 24);
/* oklch */ color: oklch(51.0% 0.104 113.6);
Tailwind
colors: {
  custom: {
    50: '#94955c',
    500: '#666c18',
    950: '#000000',
  },
}
SCSS
$custom: #666c18;
$custom-light: #94955c;
$custom-dark: #000000;
JSON
{
  "hex": "#666c18",
  "rgb": {
    "r": 102,
    "g": 108,
    "b": 24
  },
  "hsl": {
    "h": 64.286,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.50983,
    "c": 0.10366,
    "h": 113.6
  },
  "luminance": 0.13616
}

Semantic roles & 50–950 ramp

primary
#666C18
secondary
#453EA2
accent
#41E74D
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666C18

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

Preview Lab → · Contrast checker → · Palette generator →

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