#666D15#666D15

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

Color values

HEX#666D15
RGBrgb(102, 109, 21)
HSLhsl(65, 68%, 25%)
HSVhsv(65, 81%, 43%)
CMYKcmyk(6.4%, 0%, 80.7%, 57.3%)
CIE-LABlab(43.97, -14.21, 44.41)
CIE-LCHlch(43.97, 46.63, 107.74°)
OKLaboklab(51.21% -0.0438 0.0972)
OKLCHoklch(51.21% 0.107 114.2)
XYZxyz(11.0838, 13.8164, 2.7923)
Luminance0.1382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666D15 #1C156D
analogous
#6D4815 #666D15 #3A6D15
triadic
#666D15 #15666D #6D1566
tetradic
#666D15 #156D48 #1C156D #6D153A
square
#666D15 #156D48 #1C156D #6D153A
split-complementary
#666D15 #153A6D #48156D
monochromatic
#181A05 #363A0B #666D15 #96A01F #C6D429

Accessibility & contrast

On white

5.58
#666D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #666D15
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666D15#FFFFFF#000000##FFFFFF
##666D151.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#75691D
Tritanopia (blue-blind)
#6D665D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #666d15;
/* rgb */ color: rgb(102, 109, 21);
/* oklch */ color: oklch(51.2% 0.107 114.2);
Tailwind
colors: {
  custom: {
    50: '#95965b',
    500: '#666d15',
    950: '#000000',
  },
}
SCSS
$custom: #666d15;
$custom-light: #95965b;
$custom-dark: #000000;
JSON
{
  "hex": "#666d15",
  "rgb": {
    "r": 102,
    "g": 109,
    "b": 21
  },
  "hsl": {
    "h": 64.773,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.51211,
    "c": 0.10661,
    "h": 114.2
  },
  "luminance": 0.13816
}

Semantic roles & 50–950 ramp

primary
#666D15
secondary
#433AA3
accent
#3DEB4B
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666D15

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

Preview Lab → · Contrast checker → · Palette generator →

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