#666E1C#666E1C

#666E1C is a mid, moderate yellow. Relative luminance 0.141; OKLCH L 51.5% C 0.103 H 114.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#666E1C
RGBrgb(102, 110, 28)
HSLhsl(66, 59%, 27%)
HSVhsv(66, 75%, 43%)
CMYKcmyk(7.3%, 0%, 74.5%, 56.9%)
CIE-LABlab(44.32, -14.39, 42.16)
CIE-LCHlch(44.32, 44.55, 108.85°)
OKLaboklab(51.51% -0.0436 0.0938)
OKLCHoklch(51.51% 0.103 114.9)
XYZxyz(11.2653, 14.0607, 3.2189)
Luminance0.1406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666E1C #241C6E
analogous
#6E4D1C #666E1C #3D6E1C
triadic
#666E1C #1C666E #6E1C66
tetradic
#666E1C #1C6E4D #241C6E #6E1C3D
square
#666E1C #1C6E4D #241C6E #6E1C3D
split-complementary
#666E1C #1C3D6E #4D1C6E
monochromatic
#171806 #393D10 #666E1C #939F28 #BECC38

Accessibility & contrast

On white

5.51
#666E1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#666E1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666E1C
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666E1C#FFFFFF#000000##FFFFFF
##666E1C1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76680D
Deuteranopia (green-blind)
#766922
Tritanopia (blue-blind)
#6D675E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #666e1c;
/* rgb */ color: rgb(102, 110, 28);
/* oklch */ color: oklch(51.5% 0.103 114.9);
Tailwind
colors: {
  custom: {
    50: '#94975e',
    500: '#666e1c',
    950: '#000000',
  },
}
SCSS
$custom: #666e1c;
$custom-light: #94975e;
$custom-dark: #000000;
JSON
{
  "hex": "#666e1c",
  "rgb": {
    "r": 102,
    "g": 110,
    "b": 28
  },
  "hsl": {
    "h": 65.854,
    "s": 59.42,
    "l": 27.059
  },
  "oklch": {
    "l": 0.51506,
    "c": 0.10343,
    "h": 114.9
  },
  "luminance": 0.1406
}

Semantic roles & 50–950 ramp

primary
#666E1C
secondary
#4C43A3
accent
#45E355
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #666E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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