#666810#666810

#666810 is a mid, moderate yellow. Relative luminance 0.128; OKLCH L 50.0% C 0.104 H 111.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#666810
RGBrgb(102, 104, 16)
HSLhsl(61, 73%, 24%)
HSVhsv(61, 85%, 41%)
CMYKcmyk(1.9%, 0%, 84.6%, 59.2%)
CIE-LABlab(42.40, -11.65, 44.63)
CIE-LCHlch(42.40, 46.12, 104.63°)
OKLaboklab(49.95% -0.0371 0.0967)
OKLCHoklch(49.95% 0.104 111)
XYZxyz(10.5237, 12.7631, 2.3993)
Luminance0.1276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666810 #121068
analogous
#683E10 #666810 #3A6810
triadic
#666810 #106668 #681066
tetradic
#666810 #10683E #121068 #68103A
square
#666810 #10683E #121068 #68103A
split-complementary
#666810 #103A68 #3E1068
monochromatic
#1A1B04 #323308 #666810 #9A9D18 #CED220

Accessibility & contrast

On white

5.91
#666810 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#666810 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666810
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666810#FFFFFF#000000##FFFFFF
##6668101.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#726518
Tritanopia (blue-blind)
#6E6158
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #666810;
/* rgb */ color: rgb(102, 104, 16);
/* oklch */ color: oklch(50.0% 0.104 111.0);
Tailwind
colors: {
  custom: {
    50: '#959258',
    500: '#666810',
    950: '#000000',
  },
}
SCSS
$custom: #666810;
$custom-light: #959258;
$custom-dark: #000000;
JSON
{
  "hex": "#666810",
  "rgb": {
    "r": 102,
    "g": 104,
    "b": 16
  },
  "hsl": {
    "h": 61.364,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.4995,
    "c": 0.10355,
    "h": 111
  },
  "luminance": 0.12763
}

Semantic roles & 50–950 ramp

primary
#666810
secondary
#3634A0
accent
#38F03C
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D04
muted
#7E7D79

Preview Lab

Preview with #666810

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

Preview Lab → · Contrast checker → · Palette generator →

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