#666C12#666C12

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

Color values

HEX#666C12
RGBrgb(102, 108, 18)
HSLhsl(64, 71%, 25%)
HSVhsv(64, 83%, 42%)
CMYKcmyk(5.6%, 0%, 83.3%, 57.6%)
CIE-LABlab(43.64, -13.78, 45.10)
CIE-LCHlch(43.64, 47.16, 107.00°)
OKLaboklab(50.95% -0.0429 0.0981)
OKLCHoklch(50.95% 0.107 113.6)
XYZxyz(10.9516, 13.5938, 2.6191)
Luminance0.1359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666C12 #18126C
analogous
#6C4512 #666C12 #396C12
triadic
#666C12 #12666C #6C1266
tetradic
#666C12 #126C45 #18126C #6C1239
square
#666C12 #126C45 #18126C #6C1239
split-complementary
#666C12 #12396C #45126C
monochromatic
#191A04 #343809 #666C12 #98A01B #C9D523

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##666C12#FFFFFF#000000##FFFFFF
##666C121.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)
#75681B
Tritanopia (blue-blind)
#6D655C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #666c12;
/* rgb */ color: rgb(102, 108, 18);
/* oklch */ color: oklch(50.9% 0.107 113.6);
Tailwind
colors: {
  custom: {
    50: '#959559',
    500: '#666c12',
    950: '#000000',
  },
}
SCSS
$custom: #666c12;
$custom-light: #959559;
$custom-dark: #000000;
JSON
{
  "hex": "#666c12",
  "rgb": {
    "r": 102,
    "g": 108,
    "b": 18
  },
  "hsl": {
    "h": 64,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.50946,
    "c": 0.10705,
    "h": 113.6
  },
  "luminance": 0.13594
}

Semantic roles & 50–950 ramp

primary
#666C12
secondary
#3E36A3
accent
#3AEE46
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666C12

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

Preview Lab → · Contrast checker → · Palette generator →

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