#666F1E#666F1E

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

Color values

HEX#666F1E
RGBrgb(102, 111, 30)
HSLhsl(67, 57%, 28%)
HSVhsv(67, 73%, 44%)
CMYKcmyk(8.1%, 0%, 73%, 56.5%)
CIE-LABlab(44.64, -14.82, 41.67)
CIE-LCHlch(44.64, 44.22, 109.58°)
OKLaboklab(51.77% -0.0446 0.0931)
OKLCHoklch(51.77% 0.103 115.6)
XYZxyz(11.3986, 14.2876, 3.3854)
Luminance0.1429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666F1E #271E6F
analogous
#6F501E #666F1E #3D6F1E
triadic
#666F1E #1E666F #6F1E66
tetradic
#666F1E #1E6F50 #271E6F #6F1E3D
square
#666F1E #1E6F50 #271E6F #6F1E3D
split-complementary
#666F1E #1E3D6F #501E6F
monochromatic
#161807 #3A3F11 #666F1E #929F2B #BBCB3D

Accessibility & contrast

On white

5.44
#666F1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #666F1E
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666F1E#FFFFFF#000000##FFFFFF
##666F1E1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776911
Deuteranopia (green-blind)
#766A24
Tritanopia (blue-blind)
#6D685F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #666f1e;
/* rgb */ color: rgb(102, 111, 30);
/* oklch */ color: oklch(51.8% 0.103 115.6);
Tailwind
colors: {
  custom: {
    50: '#949860',
    500: '#666f1e',
    950: '#000000',
  },
}
SCSS
$custom: #666f1e;
$custom-light: #949860;
$custom-dark: #000000;
JSON
{
  "hex": "#666f1e",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 30
  },
  "hsl": {
    "h": 66.667,
    "s": 57.447,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51769,
    "c": 0.10324,
    "h": 115.6
  },
  "luminance": 0.14287
}

Semantic roles & 50–950 ramp

primary
#666F1E
secondary
#5046A3
accent
#47E158
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #666F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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