#666F20#666F20

#666F20 is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 51.8% C 0.102 H 115.7°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#666F20
RGBrgb(102, 111, 32)
HSLhsl(67, 55%, 28%)
HSVhsv(67, 71%, 44%)
CMYKcmyk(8.1%, 0%, 71.2%, 56.5%)
CIE-LABlab(44.66, -14.69, 40.84)
CIE-LCHlch(44.66, 43.41, 109.79°)
OKLaboklab(51.79% -0.044 0.0917)
OKLCHoklch(51.79% 0.102 115.7)
XYZxyz(11.4249, 14.2981, 3.5242)
Luminance0.1430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666F20 #29206F
analogous
#6F5020 #666F20 #3F6F20
triadic
#666F20 #20666F #6F2066
tetradic
#666F20 #206F50 #29206F #6F203F
square
#666F20 #206F50 #29206F #6F203F
split-complementary
#666F20 #203F6F #50206F
monochromatic
#161807 #3A3F12 #666F20 #929F2E #B9C841

Accessibility & contrast

On white

5.44
#666F20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#666F20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666F20
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666F20#FFFFFF#000000##FFFFFF
##666F201.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776914
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#6D685F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #666f20;
/* rgb */ color: rgb(102, 111, 32);
/* oklch */ color: oklch(51.8% 0.102 115.7);
Tailwind
colors: {
  custom: {
    50: '#949861',
    500: '#666f20',
    950: '#000000',
  },
}
SCSS
$custom: #666f20;
$custom-light: #949861;
$custom-dark: #000000;
JSON
{
  "hex": "#666f20",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 32
  },
  "hsl": {
    "h": 66.835,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51786,
    "c": 0.10176,
    "h": 115.7
  },
  "luminance": 0.14298
}

Semantic roles & 50–950 ramp

primary
#666F20
secondary
#5248A3
accent
#49DF5A
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #666F20

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

Preview Lab → · Contrast checker → · Palette generator →

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