#666331#666331

#666331 is a mid, moderate yellow. Relative luminance 0.120; OKLCH L 49.1% C 0.070 H 105.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#666331
RGBrgb(102, 99, 49)
HSLhsl(57, 35%, 30%)
HSVhsv(57, 52%, 40%)
CMYKcmyk(0%, 2.9%, 52%, 60%)
CIE-LABlab(41.17, -6.54, 28.60)
CIE-LCHlch(41.17, 29.33, 102.88°)
OKLaboklab(49.06% -0.019 0.0679)
OKLCHoklch(49.06% 0.07 105.6)
XYZxyz(10.4960, 11.9705, 4.6628)
Luminance0.1197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666331 #313466
analogous
#664931 #666331 #4F6631
triadic
#666331 #316663 #633166
tetradic
#666331 #316649 #313466 #66314F
square
#666331 #316649 #313466 #66314F
split-complementary
#666331 #314F66 #493166
monochromatic
#15140A #3D3B1D #666331 #8F8B45 #B2AE5F

Accessibility & contrast

On white

6.19
#666331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#666331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666331
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666331#FFFFFF#000000##FFFFFF
##6663311.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A602D
Deuteranopia (green-blind)
#6C6233
Tritanopia (blue-blind)
#6D5D57
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #666331;
/* rgb */ color: rgb(102, 99, 49);
/* oklch */ color: oklch(49.1% 0.070 105.6);
Tailwind
colors: {
  custom: {
    50: '#938f6a',
    500: '#666331',
    950: '#000000',
  },
}
SCSS
$custom: #666331;
$custom-light: #938f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#666331",
  "rgb": {
    "r": 102,
    "g": 99,
    "b": 49
  },
  "hsl": {
    "h": 56.604,
    "s": 35.099,
    "l": 29.608
  },
  "oklch": {
    "l": 0.49057,
    "c": 0.07049,
    "h": 105.6
  },
  "luminance": 0.1197
}

Semantic roles & 50–950 ramp

primary
#666331
secondary
#5C5F97
accent
#63CB5D
background
#F9F8F6
surface
#F1F0EB
border
#CBCBC6
text
#0D0C06
muted
#7E7D7A

Preview Lab

Preview with #666331

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

Preview Lab → · Contrast checker → · Palette generator →

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