#666B2D#666B2D

#666B2D is a mid, moderate yellow. Relative luminance 0.135; OKLCH L 50.9% C 0.085 H 113.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#666B2D
RGBrgb(102, 107, 45)
HSLhsl(65, 41%, 30%)
HSVhsv(65, 58%, 42%)
CMYKcmyk(4.7%, 0%, 57.9%, 58%)
CIE-LABlab(43.55, -11.47, 33.51)
CIE-LCHlch(43.55, 35.42, 108.90°)
OKLaboklab(50.94% -0.0335 0.0781)
OKLCHoklch(50.94% 0.085 113.2)
XYZxyz(11.2111, 13.5298, 4.5030)
Luminance0.1353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666B2D #322D6B
analogous
#6B512D #666B2D #476B2D
triadic
#666B2D #2D666B #6B2D66
tetradic
#666B2D #2D6B51 #322D6B #6B2D47
square
#666B2D #2D6B51 #322D6B #6B2D47
split-complementary
#666B2D #2D476B #512D6B
monochromatic
#151609 #3D401B #666B2D #8F963F #B1B959

Accessibility & contrast

On white

5.67
#666B2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#666B2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666B2D
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666B2D#FFFFFF#000000##FFFFFF
##666B2D1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726627
Deuteranopia (green-blind)
#726831
Tritanopia (blue-blind)
#6C655D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #666b2d;
/* rgb */ color: rgb(102, 107, 45);
/* oklch */ color: oklch(50.9% 0.085 113.2);
Tailwind
colors: {
  custom: {
    50: '#939568',
    500: '#666b2d',
    950: '#000000',
  },
}
SCSS
$custom: #666b2d;
$custom-light: #939568;
$custom-dark: #000000;
JSON
{
  "hex": "#666b2d",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 45
  },
  "hsl": {
    "h": 64.839,
    "s": 40.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50939,
    "c": 0.08501,
    "h": 113.2
  },
  "luminance": 0.1353
}

Semantic roles & 50–950 ramp

primary
#666B2D
secondary
#5D579D
accent
#57D161
background
#F9F9F6
surface
#F1F1EB
border
#CBCBC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #666B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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