#666315#666315

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

Color values

HEX#666315
RGBrgb(102, 99, 21)
HSLhsl(58, 66%, 24%)
HSVhsv(58, 79%, 40%)
CMYKcmyk(0%, 2.9%, 79.4%, 60%)
CIE-LABlab(40.90, -8.62, 41.59)
CIE-LCHlch(40.90, 42.47, 101.70°)
OKLaboklab(48.76% -0.0282 0.0912)
OKLCHoklch(48.76% 0.095 107.2)
XYZxyz(10.0771, 11.8030, 2.4567)
Luminance0.1180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666315 #151866
analogous
#663B15 #666315 #416615
triadic
#666315 #156663 #631566
tetradic
#666315 #15663B #151866 #661541
square
#666315 #15663B #151866 #661541
split-complementary
#666315 #154166 #3B1566
monochromatic
#191905 #33320B #666315 #99941F #CCC62A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##666315#FFFFFF#000000##FFFFFF
##6663151.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)
#6C5F05
Deuteranopia (green-blind)
#6E621B
Tritanopia (blue-blind)
#6E5C54
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #666315;
/* rgb */ color: rgb(102, 99, 21);
/* oklch */ color: oklch(48.8% 0.095 107.2);
Tailwind
colors: {
  custom: {
    50: '#958f59',
    500: '#666315',
    950: '#000000',
  },
}
SCSS
$custom: #666315;
$custom-light: #958f59;
$custom-dark: #000000;
JSON
{
  "hex": "#666315",
  "rgb": {
    "r": 102,
    "g": 99,
    "b": 21
  },
  "hsl": {
    "h": 57.778,
    "s": 65.854,
    "l": 24.118
  },
  "oklch": {
    "l": 0.48757,
    "c": 0.09547,
    "h": 107.2
  },
  "luminance": 0.11803
}

Semantic roles & 50–950 ramp

primary
#666315
secondary
#3A3E9D
accent
#45E93F
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #666315

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

Preview Lab → · Contrast checker → · Palette generator →

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