#666D1E#666D1E

#666D1E is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.3% C 0.101 H 114.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#666D1E
RGBrgb(102, 109, 30)
HSLhsl(65, 57%, 27%)
HSVhsv(65, 72%, 43%)
CMYKcmyk(6.4%, 0%, 72.5%, 57.3%)
CIE-LABlab(44.03, -13.73, 41.05)
CIE-LCHlch(44.03, 43.29, 108.49°)
OKLaboklab(51.28% -0.0416 0.0918)
OKLCHoklch(51.28% 0.101 114.4)
XYZxyz(11.1828, 13.8560, 3.3134)
Luminance0.1386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666D1E #251E6D
analogous
#6D4C1E #666D1E #3F6D1E
triadic
#666D1E #1E666D #6D1E66
tetradic
#666D1E #1E6D4C #251E6D #6D1E3F
square
#666D1E #1E6D4C #251E6D #6D1E3F
split-complementary
#666D1E #1E3F6D #4C1E6D
monochromatic
#161807 #393D11 #666D1E #939D2B #BDC93C

Accessibility & contrast

On white

5.57
#666D1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#666D1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666D1E
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666D1E#FFFFFF#000000##FFFFFF
##666D1E1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756711
Deuteranopia (green-blind)
#756924
Tritanopia (blue-blind)
#6D665D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #666d1e;
/* rgb */ color: rgb(102, 109, 30);
/* oklch */ color: oklch(51.3% 0.101 114.4);
Tailwind
colors: {
  custom: {
    50: '#94965f',
    500: '#666d1e',
    950: '#000000',
  },
}
SCSS
$custom: #666d1e;
$custom-light: #94965f;
$custom-dark: #000000;
JSON
{
  "hex": "#666d1e",
  "rgb": {
    "r": 102,
    "g": 109,
    "b": 30
  },
  "hsl": {
    "h": 65.316,
    "s": 56.835,
    "l": 27.255
  },
  "oklch": {
    "l": 0.51275,
    "c": 0.10078,
    "h": 114.4
  },
  "luminance": 0.13856
}

Semantic roles & 50–950 ramp

primary
#666D1E
secondary
#4E45A1
accent
#48E055
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #666D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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