#666B2C#666B2C

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

Color values

HEX#666B2C
RGBrgb(102, 107, 44)
HSLhsl(65, 42%, 30%)
HSVhsv(65, 59%, 42%)
CMYKcmyk(4.7%, 0%, 58.9%, 58%)
CIE-LABlab(43.54, -11.57, 34.01)
CIE-LCHlch(43.54, 35.92, 108.78°)
OKLaboklab(50.93% -0.0339 0.0791)
OKLCHoklch(50.93% 0.086 113.2)
XYZxyz(11.1920, 13.5222, 4.4029)
Luminance0.1352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666B2C #312C6B
analogous
#6B512C #666B2C #476B2C
triadic
#666B2C #2C666B #6B2C66
tetradic
#666B2C #2C6B51 #312C6B #6B2C47
square
#666B2C #2C6B51 #312C6B #6B2C47
split-complementary
#666B2C #2C476B #512C6B
monochromatic
#151609 #3D401A #666B2C #8F963E #B2BA57

Accessibility & contrast

On white

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

On black

3.70
#666B2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##666B2C#FFFFFF#000000##FFFFFF
##666B2C1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #666b2c;
/* rgb */ color: rgb(102, 107, 44);
/* oklch */ color: oklch(50.9% 0.086 113.2);
Tailwind
colors: {
  custom: {
    50: '#939568',
    500: '#666b2c',
    950: '#000000',
  },
}
SCSS
$custom: #666b2c;
$custom-light: #939568;
$custom-dark: #000000;
JSON
{
  "hex": "#666b2c",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 44
  },
  "hsl": {
    "h": 64.762,
    "s": 41.722,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50927,
    "c": 0.08602,
    "h": 113.2
  },
  "luminance": 0.13522
}

Semantic roles & 50–950 ramp

primary
#666B2C
secondary
#5C569D
accent
#56D260
background
#F9F9F6
surface
#F1F1EB
border
#CBCBC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #666B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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