#666715#666715

#666715 is a mid, moderate yellow. Relative luminance 0.126; OKLCH L 49.7% C 0.100 H 110.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#666715
RGBrgb(102, 103, 21)
HSLhsl(61, 66%, 24%)
HSVhsv(61, 80%, 40%)
CMYKcmyk(1%, 0%, 79.6%, 59.6%)
CIE-LABlab(42.12, -10.88, 42.72)
CIE-LCHlch(42.12, 44.09, 104.29°)
OKLaboklab(49.73% -0.0345 0.0936)
OKLCHoklch(49.73% 0.1 110.3)
XYZxyz(10.4655, 12.5797, 2.5862)
Luminance0.1258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666715 #161567
analogous
#673F15 #666715 #3D6715
triadic
#666715 #156667 #671566
tetradic
#666715 #15673F #161567 #67153D
square
#666715 #15673F #161567 #67153D
split-complementary
#666715 #153D67 #3F1567
monochromatic
#191905 #34340B #666715 #989A1F #CBCD2A

Accessibility & contrast

On white

5.97
#666715 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#666715 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666715
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666715#FFFFFF#000000##FFFFFF
##6667151.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706203
Deuteranopia (green-blind)
#71651C
Tritanopia (blue-blind)
#6E6058
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #666715;
/* rgb */ color: rgb(102, 103, 21);
/* oklch */ color: oklch(49.7% 0.100 110.3);
Tailwind
colors: {
  custom: {
    50: '#95925a',
    500: '#666715',
    950: '#000000',
  },
}
SCSS
$custom: #666715;
$custom-light: #95925a;
$custom-dark: #000000;
JSON
{
  "hex": "#666715",
  "rgb": {
    "r": 102,
    "g": 103,
    "b": 21
  },
  "hsl": {
    "h": 60.732,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.49733,
    "c": 0.09978,
    "h": 110.3
  },
  "luminance": 0.12579
}

Semantic roles & 50–950 ramp

primary
#666715
secondary
#3B3A9E
accent
#3FE941
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #666715

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

Preview Lab → · Contrast checker → · Palette generator →

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