#666C1E#666C1E

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

Color values

HEX#666C1E
RGBrgb(102, 108, 30)
HSLhsl(65, 57%, 27%)
HSVhsv(65, 72%, 42%)
CMYKcmyk(5.6%, 0%, 72.2%, 57.6%)
CIE-LABlab(43.72, -13.18, 40.74)
CIE-LCHlch(43.72, 42.82, 107.92°)
OKLaboklab(51.03% -0.04 0.0912)
OKLCHoklch(51.03% 0.1 113.7)
XYZxyz(11.0767, 13.6439, 3.2781)
Luminance0.1364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666C1E #241E6C
analogous
#6C4B1E #666C1E #3F6C1E
triadic
#666C1E #1E666C #6C1E66
tetradic
#666C1E #1E6C4B #241E6C #6C1E3F
square
#666C1E #1E6C4B #241E6C #6C1E3F
split-complementary
#666C1E #1E3F6C #4B1E6C
monochromatic
#171807 #393C11 #666C1E #939C2B #BEC93C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##666C1E#FFFFFF#000000##FFFFFF
##666C1E1.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)
#746712
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#6D655D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #666c1e;
/* rgb */ color: rgb(102, 108, 30);
/* oklch */ color: oklch(51.0% 0.100 113.7);
Tailwind
colors: {
  custom: {
    50: '#94965f',
    500: '#666c1e',
    950: '#000000',
  },
}
SCSS
$custom: #666c1e;
$custom-light: #94965f;
$custom-dark: #000000;
JSON
{
  "hex": "#666c1e",
  "rgb": {
    "r": 102,
    "g": 108,
    "b": 30
  },
  "hsl": {
    "h": 64.615,
    "s": 56.522,
    "l": 27.059
  },
  "oklch": {
    "l": 0.51028,
    "c": 0.09956,
    "h": 113.7
  },
  "luminance": 0.13644
}

Semantic roles & 50–950 ramp

primary
#666C1E
secondary
#4C45A0
accent
#48E054
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #666C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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