#666012#666012

#666012 is a mid, moderate yellow. Relative luminance 0.112; OKLCH L 48.0% C 0.094 H 104.8°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#666012
RGBrgb(102, 96, 18)
HSLhsl(56, 70%, 24%)
HSVhsv(56, 82%, 40%)
CMYKcmyk(0%, 5.9%, 82.4%, 60%)
CIE-LABlab(39.97, -7.03, 41.82)
CIE-LCHlch(39.97, 42.40, 99.54°)
OKLaboklab(48.01% -0.0241 0.0911)
OKLCHoklch(48.01% 0.094 104.8)
XYZxyz(9.7720, 11.2346, 2.2259)
Luminance0.1123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666012 #121866
analogous
#663612 #666012 #426612
triadic
#666012 #126660 #601266
tetradic
#666012 #126636 #121866 #661242
square
#666012 #126636 #121866 #661242
split-complementary
#666012 #124266 #361266
monochromatic
#1A1805 #322F09 #666012 #9A911B #CEC224

Accessibility & contrast

On white

6.47
#666012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#666012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666012
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666012#FFFFFF#000000##FFFFFF
##6660121.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C01
Deuteranopia (green-blind)
#6B6018
Tritanopia (blue-blind)
#6E5952
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #666012;
/* rgb */ color: rgb(102, 96, 18);
/* oklch */ color: oklch(48.0% 0.094 104.8);
Tailwind
colors: {
  custom: {
    50: '#958c58',
    500: '#666012',
    950: '#000000',
  },
}
SCSS
$custom: #666012;
$custom-light: #958c58;
$custom-dark: #000000;
JSON
{
  "hex": "#666012",
  "rgb": {
    "r": 102,
    "g": 96,
    "b": 18
  },
  "hsl": {
    "h": 55.714,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.48012,
    "c": 0.09419,
    "h": 104.8
  },
  "luminance": 0.11234
}

Semantic roles & 50–950 ramp

primary
#666012
secondary
#363D9E
accent
#48ED3B
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C03
muted
#7E7D78

Preview Lab

Preview with #666012

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

Preview Lab → · Contrast checker → · Palette generator →

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