#666515#666515

#666515 is a mid, moderate yellow. Relative luminance 0.122; OKLCH L 49.2% C 0.098 H 108.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#666515
RGBrgb(102, 101, 21)
HSLhsl(59, 66%, 24%)
HSVhsv(59, 79%, 40%)
CMYKcmyk(0%, 1%, 79.4%, 60%)
CIE-LABlab(41.51, -9.75, 42.16)
CIE-LCHlch(41.51, 43.27, 103.03°)
OKLaboklab(49.24% -0.0314 0.0924)
OKLCHoklch(49.24% 0.098 108.8)
XYZxyz(10.2689, 12.1866, 2.5206)
Luminance0.1219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666515 #151666
analogous
#663D15 #666515 #3F6615
triadic
#666515 #156665 #651566
tetradic
#666515 #15663D #151666 #66153F
square
#666515 #15663D #151666 #66153F
split-complementary
#666515 #153F66 #3D1566
monochromatic
#191905 #33330B #666515 #99971F #CCCA2A

Accessibility & contrast

On white

6.11
#666515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#666515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666515
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666515#FFFFFF#000000##FFFFFF
##6665151.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6104
Deuteranopia (green-blind)
#6F631B
Tritanopia (blue-blind)
#6E5E56
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #666515;
/* rgb */ color: rgb(102, 101, 21);
/* oklch */ color: oklch(49.2% 0.098 108.8);
Tailwind
colors: {
  custom: {
    50: '#95905a',
    500: '#666515',
    950: '#000000',
  },
}
SCSS
$custom: #666515;
$custom-light: #95905a;
$custom-dark: #000000;
JSON
{
  "hex": "#666515",
  "rgb": {
    "r": 102,
    "g": 101,
    "b": 21
  },
  "hsl": {
    "h": 59.259,
    "s": 65.854,
    "l": 24.118
  },
  "oklch": {
    "l": 0.49244,
    "c": 0.0976,
    "h": 108.8
  },
  "luminance": 0.12186
}

Semantic roles & 50–950 ramp

primary
#666515
secondary
#3A3B9D
accent
#41E93F
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #666515

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

Preview Lab → · Contrast checker → · Palette generator →

#666515 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva