#666112#666112

#666112 is a mid, moderate yellow. Relative luminance 0.114; OKLCH L 48.3% C 0.095 H 105.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#666112
RGBrgb(102, 97, 18)
HSLhsl(56, 70%, 24%)
HSVhsv(56, 82%, 40%)
CMYKcmyk(0%, 4.9%, 82.4%, 60%)
CIE-LABlab(40.28, -7.60, 42.09)
CIE-LCHlch(40.28, 42.77, 100.24°)
OKLaboklab(48.25% -0.0257 0.0917)
OKLCHoklch(48.25% 0.095 105.7)
XYZxyz(9.8638, 11.4182, 2.2565)
Luminance0.1142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666112 #121766
analogous
#663712 #666112 #416612
triadic
#666112 #126661 #611266
tetradic
#666112 #126637 #121766 #661241
square
#666112 #126637 #121766 #661241
split-complementary
#666112 #124166 #371266
monochromatic
#1A1905 #323009 #666112 #9A921B #CEC424

Accessibility & contrast

On white

6.40
#666112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#666112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666112
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666112#FFFFFF#000000##FFFFFF
##6661121.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#6C6018
Tritanopia (blue-blind)
#6E5A52
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #666112;
/* rgb */ color: rgb(102, 97, 18);
/* oklch */ color: oklch(48.3% 0.095 105.7);
Tailwind
colors: {
  custom: {
    50: '#958d58',
    500: '#666112',
    950: '#000000',
  },
}
SCSS
$custom: #666112;
$custom-light: #958d58;
$custom-dark: #000000;
JSON
{
  "hex": "#666112",
  "rgb": {
    "r": 102,
    "g": 97,
    "b": 18
  },
  "hsl": {
    "h": 56.429,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.48254,
    "c": 0.09518,
    "h": 105.7
  },
  "luminance": 0.11418
}

Semantic roles & 50–950 ramp

primary
#666112
secondary
#363C9E
accent
#46ED3B
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #666112

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

Preview Lab → · Contrast checker → · Palette generator →

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