#666A20#666A20

#666A20 is a mid, moderate yellow. Relative luminance 0.132; OKLCH L 50.6% C 0.096 H 112.3°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#666A20
RGBrgb(102, 106, 32)
HSLhsl(63, 54%, 27%)
HSVhsv(63, 70%, 42%)
CMYKcmyk(3.8%, 0%, 69.8%, 58.4%)
CIE-LABlab(43.12, -11.94, 39.28)
CIE-LCHlch(43.12, 41.05, 106.91°)
OKLaboklab(50.55% -0.0363 0.0884)
OKLCHoklch(50.55% 0.096 112.3)
XYZxyz(10.8945, 13.2374, 3.3474)
Luminance0.1324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666A20 #24206A
analogous
#6A4920 #666A20 #416A20
triadic
#666A20 #20666A #6A2066
tetradic
#666A20 #206A49 #24206A #6A2041
square
#666A20 #206A49 #24206A #6A2041
split-complementary
#666A20 #20416A #49206A
monochromatic
#171807 #393B12 #666A20 #93992E #BEC53F

Accessibility & contrast

On white

5.76
#666A20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#666A20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666A20
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666A20#FFFFFF#000000##FFFFFF
##666A201.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726515
Deuteranopia (green-blind)
#726725
Tritanopia (blue-blind)
#6D635B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #666a20;
/* rgb */ color: rgb(102, 106, 32);
/* oklch */ color: oklch(50.6% 0.096 112.3);
Tailwind
colors: {
  custom: {
    50: '#949460',
    500: '#666a20',
    950: '#000000',
  },
}
SCSS
$custom: #666a20;
$custom-light: #949460;
$custom-dark: #000000;
JSON
{
  "hex": "#666a20",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 32
  },
  "hsl": {
    "h": 63.243,
    "s": 53.623,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50553,
    "c": 0.09561,
    "h": 112.3
  },
  "luminance": 0.13237
}

Semantic roles & 50–950 ramp

primary
#666A20
secondary
#4C489E
accent
#4BDD53
background
#F9F9F5
surface
#F2F1EA
border
#CCCBC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #666A20

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

Preview Lab → · Contrast checker → · Palette generator →

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