#666C1C#666C1C

#666C1C is a mid, moderate yellow. Relative luminance 0.136; OKLCH L 51.0% C 0.101 H 113.7°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#666C1C
RGBrgb(102, 108, 28)
HSLhsl(65, 59%, 27%)
HSVhsv(65, 74%, 42%)
CMYKcmyk(5.6%, 0%, 74.1%, 57.6%)
CIE-LABlab(43.70, -13.30, 41.55)
CIE-LCHlch(43.70, 43.63, 107.74°)
OKLaboklab(51.01% -0.0406 0.0925)
OKLCHoklch(51.01% 0.101 113.7)
XYZxyz(11.0520, 13.6340, 3.1478)
Luminance0.1363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666C1C #221C6C
analogous
#6C4A1C #666C1C #3E6C1C
triadic
#666C1C #1C666C #6C1C66
tetradic
#666C1C #1C6C4A #221C6C #6C1C3E
square
#666C1C #1C6C4A #221C6C #6C1C3E
split-complementary
#666C1C #1C3E6C #4A1C6C
monochromatic
#171806 #383B0F #666C1C #949D29 #C0CB37

Accessibility & contrast

On white

5.63
#666C1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#666C1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666C1C
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666C1C#FFFFFF#000000##FFFFFF
##666C1C1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74670E
Deuteranopia (green-blind)
#746822
Tritanopia (blue-blind)
#6D655C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #666c1c;
/* rgb */ color: rgb(102, 108, 28);
/* oklch */ color: oklch(51.0% 0.101 113.7);
Tailwind
colors: {
  custom: {
    50: '#94965e',
    500: '#666c1c',
    950: '#000000',
  },
}
SCSS
$custom: #666c1c;
$custom-light: #94965e;
$custom-dark: #000000;
JSON
{
  "hex": "#666c1c",
  "rgb": {
    "r": 102,
    "g": 108,
    "b": 28
  },
  "hsl": {
    "h": 64.5,
    "s": 58.824,
    "l": 26.667
  },
  "oklch": {
    "l": 0.51012,
    "c": 0.10101,
    "h": 113.7
  },
  "luminance": 0.13634
}

Semantic roles & 50–950 ramp

primary
#666C1C
secondary
#4A43A1
accent
#46E251
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #666C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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