#666231#666231

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

Color values

HEX#666231
RGBrgb(102, 98, 49)
HSLhsl(55, 35%, 30%)
HSVhsv(55, 52%, 40%)
CMYKcmyk(0%, 3.9%, 52%, 60%)
CIE-LABlab(40.87, -5.96, 28.23)
CIE-LCHlch(40.87, 28.85, 101.92°)
OKLaboklab(48.82% -0.0173 0.0671)
OKLCHoklch(48.82% 0.069 104.5)
XYZxyz(10.4018, 11.7822, 4.6314)
Luminance0.1178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666231 #313566
analogous
#664831 #666231 #506631
triadic
#666231 #316662 #623166
tetradic
#666231 #316648 #313566 #663150
square
#666231 #316648 #313566 #663150
split-complementary
#666231 #315066 #483166
monochromatic
#15140A #3D3A1D #666231 #8F8A45 #B2AC5F

Accessibility & contrast

On white

6.26
#666231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #666231
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666231#FFFFFF#000000##FFFFFF
##6662311.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #666231;
/* rgb */ color: rgb(102, 98, 49);
/* oklch */ color: oklch(48.8% 0.069 104.5);
Tailwind
colors: {
  custom: {
    50: '#938e6a',
    500: '#666231',
    950: '#000000',
  },
}
SCSS
$custom: #666231;
$custom-light: #938e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#666231",
  "rgb": {
    "r": 102,
    "g": 98,
    "b": 49
  },
  "hsl": {
    "h": 55.472,
    "s": 35.099,
    "l": 29.608
  },
  "oklch": {
    "l": 0.48817,
    "c": 0.0693,
    "h": 104.5
  },
  "luminance": 0.11782
}

Semantic roles & 50–950 ramp

primary
#666231
secondary
#5C6097
accent
#65CB5D
background
#F9F8F6
surface
#F1F0EB
border
#CBCBC6
text
#0D0C06
muted
#7E7D7A

Preview Lab

Preview with #666231

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

Preview Lab → · Contrast checker → · Palette generator →

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