#666211#666211

#666211 is a mid, moderate yellow. Relative luminance 0.116; OKLCH L 48.5% C 0.097 H 106.5°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#666211
RGBrgb(102, 98, 17)
HSLhsl(57, 71%, 23%)
HSVhsv(57, 83%, 40%)
CMYKcmyk(0%, 3.9%, 83.3%, 60%)
CIE-LABlab(40.57, -8.22, 42.70)
CIE-LCHlch(40.57, 43.48, 100.89°)
OKLaboklab(48.49% -0.0275 0.0927)
OKLCHoklch(48.49% 0.097 106.5)
XYZxyz(9.9488, 11.6010, 2.2454)
Luminance0.1160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666211 #111566
analogous
#663711 #666211 #3F6611
triadic
#666211 #116662 #621166
tetradic
#666211 #116637 #111566 #66113F
square
#666211 #116637 #111566 #66113F
split-complementary
#666211 #113F66 #371166
monochromatic
#1A1904 #323008 #666211 #9A941A #CFC722

Accessibility & contrast

On white

6.32
#666211 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#666211 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666211
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666211#FFFFFF#000000##FFFFFF
##6662111.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#6D6118
Tritanopia (blue-blind)
#6E5B53
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #666211;
/* rgb */ color: rgb(102, 98, 17);
/* oklch */ color: oklch(48.5% 0.097 106.5);
Tailwind
colors: {
  custom: {
    50: '#958e57',
    500: '#666211',
    950: '#000000',
  },
}
SCSS
$custom: #666211;
$custom-light: #958e57;
$custom-dark: #000000;
JSON
{
  "hex": "#666211",
  "rgb": {
    "r": 102,
    "g": 98,
    "b": 17
  },
  "hsl": {
    "h": 57.176,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.4849,
    "c": 0.09672,
    "h": 106.5
  },
  "luminance": 0.11601
}

Semantic roles & 50–950 ramp

primary
#666211
secondary
#353A9E
accent
#42EE3A
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C03
muted
#7E7D78

Preview Lab

Preview with #666211

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

Preview Lab → · Contrast checker → · Palette generator →

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