#666D21#666D21

#666D21 is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.3% C 0.098 H 114.4°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#666D21
RGBrgb(102, 109, 33)
HSLhsl(66, 54%, 28%)
HSVhsv(66, 70%, 43%)
CMYKcmyk(6.4%, 0%, 69.7%, 57.3%)
CIE-LABlab(44.05, -13.53, 39.79)
CIE-LCHlch(44.05, 42.03, 108.79°)
OKLaboklab(51.3% -0.0407 0.0897)
OKLCHoklch(51.3% 0.098 114.4)
XYZxyz(11.2229, 13.8721, 3.5249)
Luminance0.1387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666D21 #28216D
analogous
#6D4E21 #666D21 #406D21
triadic
#666D21 #21666D #6D2166
tetradic
#666D21 #216D4E #28216D #6D2140
square
#666D21 #216D4E #28216D #6D2140
split-complementary
#666D21 #21406D #4E216D
monochromatic
#161707 #3A3E13 #666D21 #929C2F #BAC642

Accessibility & contrast

On white

5.56
#666D21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#666D21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666D21
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666D21#FFFFFF#000000##FFFFFF
##666D211.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756716
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#6D665E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #666d21;
/* rgb */ color: rgb(102, 109, 33);
/* oklch */ color: oklch(51.3% 0.098 114.4);
Tailwind
colors: {
  custom: {
    50: '#949661',
    500: '#666d21',
    950: '#000000',
  },
}
SCSS
$custom: #666d21;
$custom-light: #949661;
$custom-dark: #000000;
JSON
{
  "hex": "#666d21",
  "rgb": {
    "r": 102,
    "g": 109,
    "b": 33
  },
  "hsl": {
    "h": 65.526,
    "s": 53.521,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51301,
    "c": 0.09848,
    "h": 114.4
  },
  "luminance": 0.13872
}

Semantic roles & 50–950 ramp

primary
#666D21
secondary
#5149A1
accent
#4BDD58
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #666D21

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

Preview Lab → · Contrast checker → · Palette generator →

#666D21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva