#666D13#666D13

#666D13 is a mid, moderate yellow. Relative luminance 0.138; OKLCH L 51.2% C 0.108 H 114.2°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#666D13
RGBrgb(102, 109, 19)
HSLhsl(65, 70%, 25%)
HSVhsv(65, 83%, 43%)
CMYKcmyk(6.4%, 0%, 82.6%, 57.3%)
CIE-LABlab(43.96, -14.29, 45.07)
CIE-LCHlch(43.96, 47.28, 107.60°)
OKLaboklab(51.2% -0.0442 0.0982)
OKLCHoklch(51.2% 0.108 114.2)
XYZxyz(11.0660, 13.8093, 2.6985)
Luminance0.1381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666D13 #1A136D
analogous
#6D4713 #666D13 #396D13
triadic
#666D13 #13666D #6D1366
tetradic
#666D13 #136D47 #1A136D #6D1339
square
#666D13 #136D47 #1A136D #6D1339
split-complementary
#666D13 #13396D #47136D
monochromatic
#181A05 #35390A #666D13 #97A11C #C8D525

Accessibility & contrast

On white

5.58
#666D13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#666D13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666D13
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666D13#FFFFFF#000000##FFFFFF
##666D131.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#75691C
Tritanopia (blue-blind)
#6D665D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #666d13;
/* rgb */ color: rgb(102, 109, 19);
/* oklch */ color: oklch(51.2% 0.108 114.2);
Tailwind
colors: {
  custom: {
    50: '#95965a',
    500: '#666d13',
    950: '#000000',
  },
}
SCSS
$custom: #666d13;
$custom-light: #95965a;
$custom-dark: #000000;
JSON
{
  "hex": "#666d13",
  "rgb": {
    "r": 102,
    "g": 109,
    "b": 19
  },
  "hsl": {
    "h": 64.667,
    "s": 70.313,
    "l": 25.098
  },
  "oklch": {
    "l": 0.51199,
    "c": 0.10768,
    "h": 114.2
  },
  "luminance": 0.13809
}

Semantic roles & 50–950 ramp

primary
#666D13
secondary
#4038A4
accent
#3BED49
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666D13

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

Preview Lab → · Contrast checker → · Palette generator →

#666D13 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva