#666248#666248

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

Color values

HEX#666248
RGBrgb(102, 98, 72)
HSLhsl(52, 17%, 34%)
HSVhsv(52, 29%, 40%)
CMYKcmyk(0%, 3.9%, 29.4%, 60%)
CIE-LABlab(41.26, -3.03, 15.41)
CIE-LCHlch(41.26, 15.71, 101.11°)
OKLaboklab(49.26% -0.0071 0.0388)
OKLCHoklch(49.26% 0.039 100.3)
XYZxyz(11.0169, 12.0282, 7.8710)
Luminance0.1203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666248 #484C66
analogous
#665348 #666248 #5B6648
triadic
#666248 #486662 #624866
tetradic
#666248 #486653 #484C66 #66485B
square
#666248 #486653 #484C66 #66485B
split-complementary
#666248 #485B66 #534866
monochromatic
#1E1D15 #42402F #666248 #8A8461 #A7A282

Accessibility & contrast

On white

6.17
#666248 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#666248 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666248
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666248#FFFFFF#000000##FFFFFF
##6662481.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#676046
Deuteranopia (green-blind)
#686249
Tritanopia (blue-blind)
#6B5E5B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #666248;
/* rgb */ color: rgb(102, 98, 72);
/* oklch */ color: oklch(49.3% 0.039 100.3);
Tailwind
colors: {
  custom: {
    50: '#928e7b',
    500: '#666248',
    950: '#000000',
  },
}
SCSS
$custom: #666248;
$custom-light: #928e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#666248",
  "rgb": {
    "r": 102,
    "g": 98,
    "b": 72
  },
  "hsl": {
    "h": 52,
    "s": 17.241,
    "l": 34.118
  },
  "oklch": {
    "l": 0.49257,
    "c": 0.03948,
    "h": 100.3
  },
  "luminance": 0.12028
}

Semantic roles & 50–950 ramp

primary
#666248
secondary
#767A94
accent
#78BA6E
background
#F9F8F7
surface
#F1F0ED
border
#CBCBC8
text
#0D0C09
muted
#7E7D7B

Preview Lab

Preview with #666248

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

Preview Lab → · Contrast checker → · Palette generator →

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