#666128#666128

#666128 is a mid, moderate yellow. Relative luminance 0.115; OKLCH L 48.5% C 0.078 H 104.3°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#666128
RGBrgb(102, 97, 40)
HSLhsl(55, 44%, 28%)
HSVhsv(55, 61%, 40%)
CMYKcmyk(0%, 4.9%, 60.8%, 60%)
CIE-LABlab(40.46, -6.22, 32.57)
CIE-LCHlch(40.46, 33.16, 100.82°)
OKLaboklab(48.45% -0.0192 0.0755)
OKLCHoklch(48.45% 0.078 104.3)
XYZxyz(10.1375, 11.5277, 3.6981)
Luminance0.1153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666128 #282D66
analogous
#664228 #666128 #4C6628
triadic
#666128 #286661 #612866
tetradic
#666128 #286642 #282D66 #66284C
square
#666128 #286642 #282D66 #66284C
split-complementary
#666128 #284C66 #422866
monochromatic
#161509 #3A3717 #666128 #928B39 #BAB14F

Accessibility & contrast

On white

6.35
#666128 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#666128 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666128
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666128#FFFFFF#000000##FFFFFF
##6661281.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695E22
Deuteranopia (green-blind)
#6B612B
Tritanopia (blue-blind)
#6D5B54
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #666128;
/* rgb */ color: rgb(102, 97, 40);
/* oklch */ color: oklch(48.5% 0.078 104.3);
Tailwind
colors: {
  custom: {
    50: '#938d64',
    500: '#666128',
    950: '#000000',
  },
}
SCSS
$custom: #666128;
$custom-light: #938d64;
$custom-dark: #000000;
JSON
{
  "hex": "#666128",
  "rgb": {
    "r": 102,
    "g": 97,
    "b": 40
  },
  "hsl": {
    "h": 55.161,
    "s": 43.662,
    "l": 27.843
  },
  "oklch": {
    "l": 0.48454,
    "c": 0.07787,
    "h": 104.3
  },
  "luminance": 0.11527
}

Semantic roles & 50–950 ramp

primary
#666128
secondary
#515799
accent
#5FD354
background
#F9F8F6
surface
#F2F0EB
border
#CCCBC6
text
#0D0C05
muted
#7E7D7A

Preview Lab

Preview with #666128

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

Preview Lab → · Contrast checker → · Palette generator →

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