#666B20#666B20

#666B20 is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 50.8% C 0.097 H 113.1°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#666B20
RGBrgb(102, 107, 32)
HSLhsl(64, 54%, 27%)
HSVhsv(64, 70%, 42%)
CMYKcmyk(4.7%, 0%, 70.1%, 58%)
CIE-LABlab(43.43, -12.50, 39.59)
CIE-LCHlch(43.43, 41.52, 107.52°)
OKLaboklab(50.8% -0.0379 0.0891)
OKLCHoklch(50.8% 0.097 113.1)
XYZxyz(10.9982, 13.4447, 3.3819)
Luminance0.1344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666B20 #25206B
analogous
#6B4B20 #666B20 #416B20
triadic
#666B20 #20666B #6B2066
tetradic
#666B20 #206B4B #25206B #6B2041
square
#666B20 #206B4B #25206B #6B2041
split-complementary
#666B20 #20416B #4B206B
monochromatic
#161807 #393C12 #666B20 #939A2E #BDC640

Accessibility & contrast

On white

5.69
#666B20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#666B20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666B20
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666B20#FFFFFF#000000##FFFFFF
##666B201.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736615
Deuteranopia (green-blind)
#736725
Tritanopia (blue-blind)
#6D645C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #666b20;
/* rgb */ color: rgb(102, 107, 32);
/* oklch */ color: oklch(50.8% 0.097 113.1);
Tailwind
colors: {
  custom: {
    50: '#949560',
    500: '#666b20',
    950: '#000000',
  },
}
SCSS
$custom: #666b20;
$custom-light: #949560;
$custom-dark: #000000;
JSON
{
  "hex": "#666b20",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 32
  },
  "hsl": {
    "h": 64,
    "s": 53.957,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50799,
    "c": 0.09682,
    "h": 113.1
  },
  "luminance": 0.13444
}

Semantic roles & 50–950 ramp

primary
#666B20
secondary
#4E489F
accent
#4ADD54
background
#F9F9F5
surface
#F2F1EA
border
#CCCBC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #666B20

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

Preview Lab → · Contrast checker → · Palette generator →

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