#666E1A#666E1A

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

Color values

HEX#666E1A
RGBrgb(102, 110, 26)
HSLhsl(66, 62%, 27%)
HSVhsv(66, 76%, 43%)
CMYKcmyk(7.3%, 0%, 76.4%, 56.9%)
CIE-LABlab(44.31, -14.50, 42.93)
CIE-LCHlch(44.31, 45.31, 108.67°)
OKLaboklab(51.49% -0.0441 0.095)
OKLCHoklch(51.49% 0.105 114.9)
XYZxyz(11.2422, 14.0514, 3.0971)
Luminance0.1405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666E1A #221A6E
analogous
#6E4C1A #666E1A #3C6E1A
triadic
#666E1A #1A666E #6E1A66
tetradic
#666E1A #1A6E4C #221A6E #6E1A3C
square
#666E1A #1A6E4C #221A6E #6E1A3C
split-complementary
#666E1A #1A3C6E #4C1A6E
monochromatic
#171906 #383D0E #666E1A #94A026 #C0CF34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##666E1A#FFFFFF#000000##FFFFFF
##666E1A1.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)
#766809
Deuteranopia (green-blind)
#766921
Tritanopia (blue-blind)
#6D675E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #666e1a;
/* rgb */ color: rgb(102, 110, 26);
/* oklch */ color: oklch(51.5% 0.105 114.9);
Tailwind
colors: {
  custom: {
    50: '#94975d',
    500: '#666e1a',
    950: '#000000',
  },
}
SCSS
$custom: #666e1a;
$custom-light: #94975d;
$custom-dark: #000000;
JSON
{
  "hex": "#666e1a",
  "rgb": {
    "r": 102,
    "g": 110,
    "b": 26
  },
  "hsl": {
    "h": 65.714,
    "s": 61.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.51491,
    "c": 0.10477,
    "h": 114.9
  },
  "luminance": 0.14051
}

Semantic roles & 50–950 ramp

primary
#666E1A
secondary
#4A41A3
accent
#43E552
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #666E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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