#666D2B#666D2B

#666D2B is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.4% C 0.090 H 114.7°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#666D2B
RGBrgb(102, 109, 43)
HSLhsl(66, 43%, 30%)
HSVhsv(66, 61%, 43%)
CMYKcmyk(6.4%, 0%, 60.6%, 57.3%)
CIE-LABlab(44.14, -12.76, 35.19)
CIE-LCHlch(44.14, 37.43, 109.94°)
OKLaboklab(51.41% -0.0374 0.0815)
OKLCHoklch(51.41% 0.09 114.7)
XYZxyz(11.3844, 13.9367, 4.3754)
Luminance0.1394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666D2B #322B6D
analogous
#6D532B #666D2B #456D2B
triadic
#666D2B #2B666D #6D2B66
tetradic
#666D2B #2B6D53 #322B6D #6D2B45
square
#666D2B #2B6D53 #322B6D #6D2B45
split-complementary
#666D2B #2B456D #532B6D
monochromatic
#151609 #3D411A #666D2B #8F993C #B1BC56

Accessibility & contrast

On white

5.54
#666D2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#666D2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666D2B
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666D2B#FFFFFF#000000##FFFFFF
##666D2B1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746824
Deuteranopia (green-blind)
#74692F
Tritanopia (blue-blind)
#6C675F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #666d2b;
/* rgb */ color: rgb(102, 109, 43);
/* oklch */ color: oklch(51.4% 0.090 114.7);
Tailwind
colors: {
  custom: {
    50: '#939667',
    500: '#666d2b',
    950: '#000000',
  },
}
SCSS
$custom: #666d2b;
$custom-light: #939667;
$custom-dark: #000000;
JSON
{
  "hex": "#666d2b",
  "rgb": {
    "r": 102,
    "g": 109,
    "b": 43
  },
  "hsl": {
    "h": 66.364,
    "s": 43.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51405,
    "c": 0.08964,
    "h": 114.7
  },
  "luminance": 0.13936
}

Semantic roles & 50–950 ramp

primary
#666D2B
secondary
#5D559F
accent
#55D362
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #666D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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