#666223#666223

#666223 is a mid, moderate yellow. Relative luminance 0.117; OKLCH L 48.6% C 0.084 H 105.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#666223
RGBrgb(102, 98, 35)
HSLhsl(56, 49%, 27%)
HSVhsv(56, 66%, 40%)
CMYKcmyk(0%, 3.9%, 65.7%, 60%)
CIE-LABlab(40.71, -7.20, 35.35)
CIE-LCHlch(40.71, 36.08, 101.51°)
OKLaboklab(48.64% -0.0226 0.0806)
OKLCHoklch(48.64% 0.084 105.7)
XYZxyz(10.1509, 11.6818, 3.3099)
Luminance0.1168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666223 #232766
analogous
#664123 #666223 #496623
triadic
#666223 #236662 #622366
tetradic
#666223 #236641 #232766 #662349
square
#666223 #236641 #232766 #662349
split-complementary
#666223 #234966 #412366
monochromatic
#171608 #383613 #666223 #948E33 #BFB844

Accessibility & contrast

On white

6.29
#666223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#666223 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666223
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666223#FFFFFF#000000##FFFFFF
##6662231.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E1C
Deuteranopia (green-blind)
#6C6127
Tritanopia (blue-blind)
#6E5B55
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #666223;
/* rgb */ color: rgb(102, 98, 35);
/* oklch */ color: oklch(48.6% 0.084 105.7);
Tailwind
colors: {
  custom: {
    50: '#948e61',
    500: '#666223',
    950: '#000000',
  },
}
SCSS
$custom: #666223;
$custom-light: #948e61;
$custom-dark: #000000;
JSON
{
  "hex": "#666223",
  "rgb": {
    "r": 102,
    "g": 98,
    "b": 35
  },
  "hsl": {
    "h": 56.418,
    "s": 48.905,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48636,
    "c": 0.08375,
    "h": 105.7
  },
  "luminance": 0.11681
}

Semantic roles & 50–950 ramp

primary
#666223
secondary
#4B509A
accent
#58D84F
background
#F9F8F5
surface
#F2F0EA
border
#CCCBC6
text
#0D0C05
muted
#7E7D79

Preview Lab

Preview with #666223

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

Preview Lab → · Contrast checker → · Palette generator →

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