#666915#666915

#666915 is a mid, moderate yellow. Relative luminance 0.130; OKLCH L 50.2% C 0.102 H 111.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#666915
RGBrgb(102, 105, 21)
HSLhsl(62, 67%, 25%)
HSVhsv(62, 80%, 41%)
CMYKcmyk(2.9%, 0%, 80%, 58.8%)
CIE-LABlab(42.74, -12.00, 43.29)
CIE-LCHlch(42.74, 44.92, 105.49°)
OKLaboklab(50.22% -0.0377 0.0948)
OKLCHoklch(50.22% 0.102 111.7)
XYZxyz(10.6668, 12.9823, 2.6533)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666915 #181569
analogous
#694215 #666915 #3C6915
triadic
#666915 #156669 #691566
tetradic
#666915 #156942 #181569 #69153C
square
#666915 #156942 #181569 #69153C
split-complementary
#666915 #153C69 #421569
monochromatic
#191A05 #34360B #666915 #989C1F #C9CF29

Accessibility & contrast

On white

5.84
#666915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#666915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666915
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666915#FFFFFF#000000##FFFFFF
##6669151.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726402
Deuteranopia (green-blind)
#72661C
Tritanopia (blue-blind)
#6E6259
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #666915;
/* rgb */ color: rgb(102, 105, 21);
/* oklch */ color: oklch(50.2% 0.102 111.7);
Tailwind
colors: {
  custom: {
    50: '#95935a',
    500: '#666915',
    950: '#000000',
  },
}
SCSS
$custom: #666915;
$custom-light: #95935a;
$custom-dark: #000000;
JSON
{
  "hex": "#666915",
  "rgb": {
    "r": 102,
    "g": 105,
    "b": 21
  },
  "hsl": {
    "h": 62.143,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.50224,
    "c": 0.10201,
    "h": 111.7
  },
  "luminance": 0.12982
}

Semantic roles & 50–950 ramp

primary
#666915
secondary
#3E3AA0
accent
#3EEA44
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666915

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

Preview Lab → · Contrast checker → · Palette generator →

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