#666512#666512

#666512 is a mid, moderate yellow. Relative luminance 0.122; OKLCH L 49.2% C 0.099 H 108.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#666512
RGBrgb(102, 101, 18)
HSLhsl(59, 70%, 24%)
HSVhsv(59, 82%, 40%)
CMYKcmyk(0%, 1%, 82.4%, 60%)
CIE-LABlab(41.49, -9.88, 43.19)
CIE-LCHlch(41.49, 44.30, 102.89°)
OKLaboklab(49.23% -0.032 0.094)
OKLCHoklch(49.23% 0.099 108.8)
XYZxyz(10.2428, 12.1761, 2.3828)
Luminance0.1218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666512 #121366
analogous
#663B12 #666512 #3D6612
triadic
#666512 #126665 #651266
tetradic
#666512 #12663B #121366 #66123D
square
#666512 #12663B #121366 #66123D
split-complementary
#666512 #123D66 #3B1266
monochromatic
#1A1A05 #323109 #666512 #9A991B #CECC24

Accessibility & contrast

On white

6.11
#666512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#666512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666512
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666512#FFFFFF#000000##FFFFFF
##6665121.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#6F6319
Tritanopia (blue-blind)
#6E5E56
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #666512;
/* rgb */ color: rgb(102, 101, 18);
/* oklch */ color: oklch(49.2% 0.099 108.8);
Tailwind
colors: {
  custom: {
    50: '#959058',
    500: '#666512',
    950: '#000000',
  },
}
SCSS
$custom: #666512;
$custom-light: #959058;
$custom-dark: #000000;
JSON
{
  "hex": "#666512",
  "rgb": {
    "r": 102,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 59.286,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.49226,
    "c": 0.0993,
    "h": 108.8
  },
  "luminance": 0.12176
}

Semantic roles & 50–950 ramp

primary
#666512
secondary
#36379E
accent
#3DED3B
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #666512

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

Preview Lab → · Contrast checker → · Palette generator →

#666512 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva