#666F1D#666F1D

#666F1D is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 51.8% C 0.104 H 115.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#666F1D
RGBrgb(102, 111, 29)
HSLhsl(67, 59%, 27%)
HSVhsv(67, 74%, 44%)
CMYKcmyk(8.1%, 0%, 73.9%, 56.5%)
CIE-LABlab(44.64, -14.88, 42.07)
CIE-LCHlch(44.64, 44.62, 109.48°)
OKLaboklab(51.76% -0.0449 0.0938)
OKLCHoklch(51.76% 0.104 115.6)
XYZxyz(11.3860, 14.2825, 3.3192)
Luminance0.1428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666F1D #261D6F
analogous
#6F4F1D #666F1D #3D6F1D
triadic
#666F1D #1D666F #6F1D66
tetradic
#666F1D #1D6F4F #261D6F #6F1D3D
square
#666F1D #1D6F4F #261D6F #6F1D3D
split-complementary
#666F1D #1D3D6F #4F1D6F
monochromatic
#161806 #393E10 #666F1D #93A02A #BCCC3B

Accessibility & contrast

On white

5.45
#666F1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#666F1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666F1D
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666F1D#FFFFFF#000000##FFFFFF
##666F1D1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77690F
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#6D685F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #666f1d;
/* rgb */ color: rgb(102, 111, 29);
/* oklch */ color: oklch(51.8% 0.104 115.6);
Tailwind
colors: {
  custom: {
    50: '#94985f',
    500: '#666f1d',
    950: '#000000',
  },
}
SCSS
$custom: #666f1d;
$custom-light: #94985f;
$custom-dark: #000000;
JSON
{
  "hex": "#666f1d",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 29
  },
  "hsl": {
    "h": 66.585,
    "s": 58.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.51761,
    "c": 0.10396,
    "h": 115.6
  },
  "luminance": 0.14282
}

Semantic roles & 50–950 ramp

primary
#666F1D
secondary
#4F44A3
accent
#46E257
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #666F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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