#666311#666311

#666311 is a mid, moderate yellow. Relative luminance 0.118; OKLCH L 48.7% C 0.098 H 107.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#666311
RGBrgb(102, 99, 17)
HSLhsl(58, 71%, 23%)
HSVhsv(58, 83%, 40%)
CMYKcmyk(0%, 2.9%, 83.3%, 60%)
CIE-LABlab(40.88, -8.79, 42.97)
CIE-LCHlch(40.88, 43.86, 101.56°)
OKLaboklab(48.73% -0.0291 0.0933)
OKLCHoklch(48.73% 0.098 107.3)
XYZxyz(10.0429, 11.7893, 2.2767)
Luminance0.1179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666311 #111466
analogous
#663811 #666311 #3E6611
triadic
#666311 #116663 #631166
tetradic
#666311 #116638 #111466 #66113E
square
#666311 #116638 #111466 #66113E
split-complementary
#666311 #113E66 #381166
monochromatic
#1A1904 #323008 #666311 #9A961A #CFC922

Accessibility & contrast

On white

6.25
#666311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#666311 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666311
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666311#FFFFFF#000000##FFFFFF
##6663111.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#6E6218
Tritanopia (blue-blind)
#6E5C54
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #666311;
/* rgb */ color: rgb(102, 99, 17);
/* oklch */ color: oklch(48.7% 0.098 107.3);
Tailwind
colors: {
  custom: {
    50: '#958f58',
    500: '#666311',
    950: '#000000',
  },
}
SCSS
$custom: #666311;
$custom-light: #958f58;
$custom-dark: #000000;
JSON
{
  "hex": "#666311",
  "rgb": {
    "r": 102,
    "g": 99,
    "b": 17
  },
  "hsl": {
    "h": 57.882,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.48733,
    "c": 0.09774,
    "h": 107.3
  },
  "luminance": 0.11789
}

Semantic roles & 50–950 ramp

primary
#666311
secondary
#35389E
accent
#40EE3A
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #666311

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

Preview Lab → · Contrast checker → · Palette generator →

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