#666310#666310

#666310 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.26:1 contrast (WCAG AA passes).

Color values

HEX#666310
RGBrgb(102, 99, 16)
HSLhsl(58, 73%, 23%)
HSVhsv(58, 84%, 40%)
CMYKcmyk(0%, 2.9%, 84.3%, 60%)
CIE-LABlab(40.87, -8.83, 43.29)
CIE-LCHlch(40.87, 44.18, 101.53°)
OKLaboklab(48.73% -0.0293 0.0938)
OKLCHoklch(48.73% 0.098 107.3)
XYZxyz(10.0353, 11.7862, 2.2365)
Luminance0.1179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666310 #101366
analogous
#663810 #666310 #3E6610
triadic
#666310 #106663 #631066
tetradic
#666310 #106638 #101366 #66103E
square
#666310 #106638 #101366 #66103E
split-complementary
#666310 #103E66 #381066
monochromatic
#1A1A04 #313008 #666310 #9B9618 #D0CA21

Accessibility & contrast

On white

6.26
#666310 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #666310
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666310#FFFFFF#000000##FFFFFF
##6663101.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #666310;
/* rgb */ color: rgb(102, 99, 16);
/* oklch */ color: oklch(48.7% 0.098 107.3);
Tailwind
colors: {
  custom: {
    50: '#958f57',
    500: '#666310',
    950: '#000000',
  },
}
SCSS
$custom: #666310;
$custom-light: #958f57;
$custom-dark: #000000;
JSON
{
  "hex": "#666310",
  "rgb": {
    "r": 102,
    "g": 99,
    "b": 16
  },
  "hsl": {
    "h": 57.907,
    "s": 72.881,
    "l": 23.137
  },
  "oklch": {
    "l": 0.48727,
    "c": 0.09825,
    "h": 107.3
  },
  "luminance": 0.11786
}

Semantic roles & 50–950 ramp

primary
#666310
secondary
#33379E
accent
#3FF038
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C03
muted
#7E7D78

Preview Lab

Preview with #666310

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

Preview Lab → · Contrast checker → · Palette generator →

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