#666F15#666F15

#666F15 is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 51.7% C 0.109 H 115.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#666F15
RGBrgb(102, 111, 21)
HSLhsl(66, 68%, 26%)
HSVhsv(66, 81%, 44%)
CMYKcmyk(8.1%, 0%, 81.1%, 56.5%)
CIE-LABlab(44.59, -15.29, 44.98)
CIE-LCHlch(44.59, 47.51, 108.78°)
OKLaboklab(51.71% -0.0468 0.0984)
OKLCHoklch(51.71% 0.109 115.4)
XYZxyz(11.2996, 14.2480, 2.8642)
Luminance0.1425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666F15 #1E156F
analogous
#6F4B15 #666F15 #396F15
triadic
#666F15 #15666F #6F1566
tetradic
#666F15 #156F4B #1E156F #6F1539
square
#666F15 #156F4B #1E156F #6F1539
split-complementary
#666F15 #15396F #4B156F
monochromatic
#181A05 #373C0B #666F15 #95A21F #C5D628

Accessibility & contrast

On white

5.46
#666F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#666F15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666F15
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666F15#FFFFFF#000000##FFFFFF
##666F151.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#776A1D
Tritanopia (blue-blind)
#6D685E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #666f15;
/* rgb */ color: rgb(102, 111, 21);
/* oklch */ color: oklch(51.7% 0.109 115.4);
Tailwind
colors: {
  custom: {
    50: '#95985b',
    500: '#666f15',
    950: '#000000',
  },
}
SCSS
$custom: #666f15;
$custom-light: #95985b;
$custom-dark: #000000;
JSON
{
  "hex": "#666f15",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 21
  },
  "hsl": {
    "h": 66,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.51707,
    "c": 0.10896,
    "h": 115.4
  },
  "luminance": 0.14248
}

Semantic roles & 50–950 ramp

primary
#666F15
secondary
#453AA5
accent
#3DEB4E
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666F15

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

Preview Lab → · Contrast checker → · Palette generator →

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