#666233#666233

#666233 is a mid, moderate yellow. Relative luminance 0.118; OKLCH L 48.8% C 0.067 H 104.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#666233
RGBrgb(102, 98, 51)
HSLhsl(55, 33%, 30%)
HSVhsv(55, 50%, 40%)
CMYKcmyk(0%, 3.9%, 50%, 60%)
CIE-LABlab(40.90, -5.75, 27.16)
CIE-LCHlch(40.90, 27.76, 101.95°)
OKLaboklab(48.85% -0.0165 0.0649)
OKLCHoklch(48.85% 0.067 104.3)
XYZxyz(10.4450, 11.7995, 4.8586)
Luminance0.1180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666233 #333766
analogous
#664833 #666233 #516633
triadic
#666233 #336662 #623366
tetradic
#666233 #336648 #333766 #663351
square
#666233 #336648 #333766 #663351
split-complementary
#666233 #335166 #483366
monochromatic
#14140A #3D3B1F #666233 #8F8947 #B1AB63

Accessibility & contrast

On white

6.25
#666233 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#666233 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666233
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666233#FFFFFF#000000##FFFFFF
##6662331.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695F2F
Deuteranopia (green-blind)
#6B6235
Tritanopia (blue-blind)
#6D5C57
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #666233;
/* rgb */ color: rgb(102, 98, 51);
/* oklch */ color: oklch(48.8% 0.067 104.3);
Tailwind
colors: {
  custom: {
    50: '#938e6c',
    500: '#666233',
    950: '#000000',
  },
}
SCSS
$custom: #666233;
$custom-light: #938e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#666233",
  "rgb": {
    "r": 102,
    "g": 98,
    "b": 51
  },
  "hsl": {
    "h": 55.294,
    "s": 33.333,
    "l": 30
  },
  "oklch": {
    "l": 0.48848,
    "c": 0.06697,
    "h": 104.3
  },
  "luminance": 0.11799
}

Semantic roles & 50–950 ramp

primary
#666233
secondary
#5E6297
accent
#67C95E
background
#F9F8F6
surface
#F1F0EB
border
#CBCBC6
text
#0D0C07
muted
#7E7D7A

Preview Lab

Preview with #666233

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

Preview Lab → · Contrast checker → · Palette generator →

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