#666015#666015

#666015 is a mid, moderate yellow. Relative luminance 0.112; OKLCH L 48.0% C 0.092 H 104.7°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#666015
RGBrgb(102, 96, 21)
HSLhsl(56, 66%, 24%)
HSVhsv(56, 79%, 40%)
CMYKcmyk(0%, 5.9%, 79.4%, 60%)
CIE-LABlab(39.99, -6.89, 40.74)
CIE-LCHlch(39.99, 41.32, 99.60°)
OKLaboklab(48.03% -0.0234 0.0894)
OKLCHoklch(48.03% 0.092 104.7)
XYZxyz(9.7981, 11.2451, 2.3637)
Luminance0.1124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666015 #151B66
analogous
#663815 #666015 #446615
triadic
#666015 #156660 #601566
tetradic
#666015 #156638 #151B66 #661544
square
#666015 #156638 #151B66 #661544
split-complementary
#666015 #154466 #381566
monochromatic
#191805 #33300B #666015 #99901F #CCC02A

Accessibility & contrast

On white

6.46
#666015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#666015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666015
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666015#FFFFFF#000000##FFFFFF
##6660151.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C06
Deuteranopia (green-blind)
#6B601B
Tritanopia (blue-blind)
#6E5952
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #666015;
/* rgb */ color: rgb(102, 96, 21);
/* oklch */ color: oklch(48.0% 0.092 104.7);
Tailwind
colors: {
  custom: {
    50: '#958c59',
    500: '#666015',
    950: '#000000',
  },
}
SCSS
$custom: #666015;
$custom-light: #958c59;
$custom-dark: #000000;
JSON
{
  "hex": "#666015",
  "rgb": {
    "r": 102,
    "g": 96,
    "b": 21
  },
  "hsl": {
    "h": 55.556,
    "s": 65.854,
    "l": 24.118
  },
  "oklch": {
    "l": 0.48031,
    "c": 0.09241,
    "h": 104.7
  },
  "luminance": 0.11245
}

Semantic roles & 50–950 ramp

primary
#666015
secondary
#3A419D
accent
#4CE93F
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #666015

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

Preview Lab → · Contrast checker → · Palette generator →

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