#666D1F#666D1F

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

Color values

HEX#666D1F
RGBrgb(102, 109, 31)
HSLhsl(65, 56%, 27%)
HSVhsv(65, 72%, 43%)
CMYKcmyk(6.4%, 0%, 71.6%, 57.3%)
CIE-LABlab(44.03, -13.67, 40.64)
CIE-LCHlch(44.03, 42.87, 108.59°)
OKLaboklab(51.28% -0.0413 0.0911)
OKLCHoklch(51.28% 0.1 114.4)
XYZxyz(11.1957, 13.8612, 3.3818)
Luminance0.1386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666D1F #261F6D
analogous
#6D4D1F #666D1F #3F6D1F
triadic
#666D1F #1F666D #6D1F66
tetradic
#666D1F #1F6D4D #261F6D #6D1F3F
square
#666D1F #1F6D4D #261F6D #6D1F3F
split-complementary
#666D1F #1F3F6D #4D1F6D
monochromatic
#161807 #393D11 #666D1F #939D2D #BCC83E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##666D1F#FFFFFF#000000##FFFFFF
##666D1F1.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)
#756713
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#6D665D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #666d1f;
/* rgb */ color: rgb(102, 109, 31);
/* oklch */ color: oklch(51.3% 0.100 114.4);
Tailwind
colors: {
  custom: {
    50: '#949660',
    500: '#666d1f',
    950: '#000000',
  },
}
SCSS
$custom: #666d1f;
$custom-light: #949660;
$custom-dark: #000000;
JSON
{
  "hex": "#666d1f",
  "rgb": {
    "r": 102,
    "g": 109,
    "b": 31
  },
  "hsl": {
    "h": 65.385,
    "s": 55.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.51283,
    "c": 0.10003,
    "h": 114.4
  },
  "luminance": 0.13861
}

Semantic roles & 50–950 ramp

primary
#666D1F
secondary
#4F47A1
accent
#49DF56
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #666D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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