#666A15#666A15

#666A15 is a mid, moderate yellow. Relative luminance 0.132; OKLCH L 50.5% C 0.103 H 112.3°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#666A15
RGBrgb(102, 106, 21)
HSLhsl(63, 67%, 25%)
HSVhsv(63, 80%, 42%)
CMYKcmyk(3.8%, 0%, 80.2%, 58.4%)
CIE-LABlab(43.04, -12.55, 43.57)
CIE-LCHlch(43.04, 45.34, 106.07°)
OKLaboklab(50.47% -0.0392 0.0954)
OKLCHoklch(50.47% 0.103 112.3)
XYZxyz(10.7692, 13.1873, 2.6874)
Luminance0.1319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666A15 #19156A
analogous
#6A4415 #666A15 #3B6A15
triadic
#666A15 #15666A #6A1566
tetradic
#666A15 #156A44 #19156A #6A153B
square
#666A15 #156A44 #19156A #6A153B
split-complementary
#666A15 #153B6A #44156A
monochromatic
#191A05 #35370B #666A15 #979D1F #C8D029

Accessibility & contrast

On white

5.77
#666A15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#666A15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666A15
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666A15#FFFFFF#000000##FFFFFF
##666A151.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736501
Deuteranopia (green-blind)
#73671C
Tritanopia (blue-blind)
#6D635A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #666a15;
/* rgb */ color: rgb(102, 106, 21);
/* oklch */ color: oklch(50.5% 0.103 112.3);
Tailwind
colors: {
  custom: {
    50: '#95945a',
    500: '#666a15',
    950: '#000000',
  },
}
SCSS
$custom: #666a15;
$custom-light: #95945a;
$custom-dark: #000000;
JSON
{
  "hex": "#666a15",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 21
  },
  "hsl": {
    "h": 62.824,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.5047,
    "c": 0.10315,
    "h": 112.3
  },
  "luminance": 0.13187
}

Semantic roles & 50–950 ramp

primary
#666A15
secondary
#3F3AA1
accent
#3EEA46
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666A15

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

Preview Lab → · Contrast checker → · Palette generator →

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