#666A0E#666A0E

#666A0E is a mid, moderate yellow. Relative luminance 0.132; OKLCH L 50.4% C 0.107 H 112.3°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#666A0E
RGBrgb(102, 106, 14)
HSLhsl(63, 77%, 24%)
HSVhsv(63, 87%, 42%)
CMYKcmyk(3.8%, 0%, 86.8%, 58.4%)
CIE-LABlab(43.01, -12.83, 45.73)
CIE-LCHlch(43.01, 47.49, 105.67°)
OKLaboklab(50.43% -0.0405 0.0987)
OKLCHoklch(50.43% 0.107 112.3)
XYZxyz(10.7132, 13.1648, 2.3921)
Luminance0.1316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666A0E #120E6A
analogous
#6A400E #666A0E #386A0E
triadic
#666A0E #0E666A #6A0E66
tetradic
#666A0E #0E6A40 #120E6A #6A0E38
square
#666A0E #0E6A40 #120E6A #6A0E38
split-complementary
#666A0E #0E386A #400E6A
monochromatic
#1A1B04 #323407 #666A0E #9AA015 #CED61C

Accessibility & contrast

On white

5.78
#666A0E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#666A0E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666A0E
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666A0E#FFFFFF#000000##FFFFFF
##666A0E1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#736718
Tritanopia (blue-blind)
#6E635A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #666a0e;
/* rgb */ color: rgb(102, 106, 14);
/* oklch */ color: oklch(50.4% 0.107 112.3);
Tailwind
colors: {
  custom: {
    50: '#959458',
    500: '#666a0e',
    950: '#000000',
  },
}
SCSS
$custom: #666a0e;
$custom-light: #959458;
$custom-dark: #000000;
JSON
{
  "hex": "#666a0e",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 14
  },
  "hsl": {
    "h": 62.609,
    "s": 76.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.50432,
    "c": 0.10666,
    "h": 112.3
  },
  "luminance": 0.13165
}

Semantic roles & 50–950 ramp

primary
#666A0E
secondary
#3631A3
accent
#35F33D
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666A0E

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

Preview Lab → · Contrast checker → · Palette generator →

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