#666152#666152

#666152 is a mid, muted yellow. Relative luminance 0.120; OKLCH L 49.3% C 0.024 H 91.7°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#666152
RGBrgb(102, 97, 82)
HSLhsl(45, 11%, 36%)
HSVhsv(45, 20%, 40%)
CMYKcmyk(0%, 4.9%, 19.6%, 60%)
CIE-LABlab(41.19, -0.82, 9.28)
CIE-LCHlch(41.19, 9.32, 95.04°)
OKLaboklab(49.28% -0.0007 0.0239)
OKLCHoklch(49.28% 0.024 91.7)
XYZxyz(11.2771, 11.9836, 9.7000)
Luminance0.1198 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666152 #525766
analogous
#665752 #666152 #616652
triadic
#666152 #526661 #615266
tetradic
#666152 #526657 #525766 #665261
square
#666152 #526657 #525766 #665261
split-complementary
#666152 #526166 #575266
monochromatic
#22201B #444137 #666152 #88816D #A49F8E

Accessibility & contrast

On white

6.18
#666152 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#666152 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666152
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666152#FFFFFF#000000##FFFFFF
##6661521.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646051
Deuteranopia (green-blind)
#666252
Tritanopia (blue-blind)
#695F5D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #666152;
/* rgb */ color: rgb(102, 97, 82);
/* oklch */ color: oklch(49.3% 0.024 91.7);
Tailwind
colors: {
  custom: {
    50: '#918d82',
    500: '#666152',
    950: '#000000',
  },
}
SCSS
$custom: #666152;
$custom-light: #918d82;
$custom-dark: #000000;
JSON
{
  "hex": "#666152",
  "rgb": {
    "r": 102,
    "g": 97,
    "b": 82
  },
  "hsl": {
    "h": 45,
    "s": 10.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49275,
    "c": 0.02393,
    "h": 91.7
  },
  "luminance": 0.11983
}

Semantic roles & 50–950 ramp

primary
#666152
secondary
#818593
accent
#84B474
background
#F8F8F7
surface
#F0F0EE
border
#CBCBC9
text
#0D0C0A
muted
#7D7D7C

Preview Lab

Preview with #666152

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

Preview Lab → · Contrast checker → · Palette generator →

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