#666D0F#666D0F

#666D0F is a mid, moderate yellow. Relative luminance 0.138; OKLCH L 51.2% C 0.110 H 114.2°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#666D0F
RGBrgb(102, 109, 15)
HSLhsl(64, 76%, 24%)
HSVhsv(64, 86%, 43%)
CMYKcmyk(6.4%, 0%, 86.2%, 57.3%)
CIE-LABlab(43.94, -14.44, 46.25)
CIE-LCHlch(43.94, 48.45, 107.35°)
OKLaboklab(51.18% -0.0449 0.1)
OKLCHoklch(51.18% 0.11 114.2)
XYZxyz(11.0347, 13.7968, 2.5336)
Luminance0.1380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666D0F #160F6D
analogous
#6D450F #666D0F #376D0F
triadic
#666D0F #0F666D #6D0F66
tetradic
#666D0F #0F6D45 #160F6D #6D0F37
square
#666D0F #0F6D45 #160F6D #6D0F37
split-complementary
#666D0F #0F376D #450F6D
monochromatic
#191B04 #343708 #666D0F #98A316 #CBD91E

Accessibility & contrast

On white

5.59
#666D0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#666D0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666D0F
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666D0F#FFFFFF#000000##FFFFFF
##666D0F1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#756919
Tritanopia (blue-blind)
#6D665C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #666d0f;
/* rgb */ color: rgb(102, 109, 15);
/* oklch */ color: oklch(51.2% 0.110 114.2);
Tailwind
colors: {
  custom: {
    50: '#959658',
    500: '#666d0f',
    950: '#000000',
  },
}
SCSS
$custom: #666d0f;
$custom-light: #959658;
$custom-dark: #000000;
JSON
{
  "hex": "#666d0f",
  "rgb": {
    "r": 102,
    "g": 109,
    "b": 15
  },
  "hsl": {
    "h": 64.468,
    "s": 75.806,
    "l": 24.314
  },
  "oklch": {
    "l": 0.51179,
    "c": 0.1096,
    "h": 114.2
  },
  "luminance": 0.13797
}

Semantic roles & 50–950 ramp

primary
#666D0F
secondary
#3B33A5
accent
#35F243
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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