#666F12#666F12

#666F12 is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 51.7% C 0.111 H 115.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#666F12
RGBrgb(102, 111, 18)
HSLhsl(66, 72%, 25%)
HSVhsv(66, 84%, 44%)
CMYKcmyk(8.1%, 0%, 83.8%, 56.5%)
CIE-LABlab(44.57, -15.42, 45.92)
CIE-LCHlch(44.57, 48.44, 108.56°)
OKLaboklab(51.69% -0.0474 0.0998)
OKLCHoklch(51.69% 0.111 115.4)
XYZxyz(11.2734, 14.2375, 2.7264)
Luminance0.1424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666F12 #1B126F
analogous
#6F4912 #666F12 #386F12
triadic
#666F12 #12666F #6F1266
tetradic
#666F12 #126F49 #1B126F #6F1238
square
#666F12 #126F49 #1B126F #6F1238
split-complementary
#666F12 #12386F #49126F
monochromatic
#181A04 #363A09 #666F12 #96A41B #C7D823

Accessibility & contrast

On white

5.46
#666F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#666F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666F12
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666F12#FFFFFF#000000##FFFFFF
##666F121.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#776A1B
Tritanopia (blue-blind)
#6D685E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #666f12;
/* rgb */ color: rgb(102, 111, 18);
/* oklch */ color: oklch(51.7% 0.111 115.4);
Tailwind
colors: {
  custom: {
    50: '#95985a',
    500: '#666f12',
    950: '#000000',
  },
}
SCSS
$custom: #666f12;
$custom-light: #95985a;
$custom-dark: #000000;
JSON
{
  "hex": "#666f12",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 18
  },
  "hsl": {
    "h": 65.806,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.5169,
    "c": 0.11051,
    "h": 115.4
  },
  "luminance": 0.14237
}

Semantic roles & 50–950 ramp

primary
#666F12
secondary
#4137A6
accent
#39EF4B
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666F12

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

Preview Lab → · Contrast checker → · Palette generator →

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