#666D20#666D20

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

Color values

HEX#666D20
RGBrgb(102, 109, 32)
HSLhsl(65, 55%, 28%)
HSVhsv(65, 71%, 43%)
CMYKcmyk(6.4%, 0%, 70.6%, 57.3%)
CIE-LABlab(44.04, -13.60, 40.22)
CIE-LCHlch(44.04, 42.46, 108.68°)
OKLaboklab(51.29% -0.041 0.0904)
OKLCHoklch(51.29% 0.099 114.4)
XYZxyz(11.2091, 13.8665, 3.4522)
Luminance0.1387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666D20 #27206D
analogous
#6D4E20 #666D20 #3F6D20
triadic
#666D20 #20666D #6D2066
tetradic
#666D20 #206D4E #27206D #6D203F
square
#666D20 #206D4E #27206D #6D203F
split-complementary
#666D20 #203F6D #4E206D
monochromatic
#161807 #3A3E12 #666D20 #929C2E #BBC740

Accessibility & contrast

On white

5.57
#666D20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #666D20
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666D20#FFFFFF#000000##FFFFFF
##666D201.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #666d20;
/* rgb */ color: rgb(102, 109, 32);
/* oklch */ color: oklch(51.3% 0.099 114.4);
Tailwind
colors: {
  custom: {
    50: '#949660',
    500: '#666d20',
    950: '#000000',
  },
}
SCSS
$custom: #666d20;
$custom-light: #949660;
$custom-dark: #000000;
JSON
{
  "hex": "#666d20",
  "rgb": {
    "r": 102,
    "g": 109,
    "b": 32
  },
  "hsl": {
    "h": 65.455,
    "s": 54.61,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51292,
    "c": 0.09927,
    "h": 114.4
  },
  "luminance": 0.13866
}

Semantic roles & 50–950 ramp

primary
#666D20
secondary
#5048A1
accent
#4ADE57
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #666D20

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

Preview Lab → · Contrast checker → · Palette generator →

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