#666D19#666D19

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

Color values

HEX#666D19
RGBrgb(102, 109, 25)
HSLhsl(65, 63%, 26%)
HSVhsv(65, 77%, 43%)
CMYKcmyk(6.4%, 0%, 77.1%, 57.3%)
CIE-LABlab(43.99, -14.01, 43.00)
CIE-LCHlch(43.99, 45.23, 108.05°)
OKLaboklab(51.24% -0.0429 0.095)
OKLCHoklch(51.24% 0.104 114.3)
XYZxyz(11.1239, 13.8325, 3.0035)
Luminance0.1383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666D19 #20196D
analogous
#6D4A19 #666D19 #3C6D19
triadic
#666D19 #19666D #6D1966
tetradic
#666D19 #196D4A #20196D #6D193C
square
#666D19 #196D4A #20196D #6D193C
split-complementary
#666D19 #193C6D #4A196D
monochromatic
#171906 #373B0E #666D19 #959F24 #C2D031

Accessibility & contrast

On white

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

On black

3.77
#666D19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##666D19#FFFFFF#000000##FFFFFF
##666D191.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756708
Deuteranopia (green-blind)
#756920
Tritanopia (blue-blind)
#6D665D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #666d19;
/* rgb */ color: rgb(102, 109, 25);
/* oklch */ color: oklch(51.2% 0.104 114.3);
Tailwind
colors: {
  custom: {
    50: '#94965d',
    500: '#666d19',
    950: '#000000',
  },
}
SCSS
$custom: #666d19;
$custom-light: #94965d;
$custom-dark: #000000;
JSON
{
  "hex": "#666d19",
  "rgb": {
    "r": 102,
    "g": 109,
    "b": 25
  },
  "hsl": {
    "h": 65,
    "s": 62.687,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51237,
    "c": 0.10421,
    "h": 114.3
  },
  "luminance": 0.13832
}

Semantic roles & 50–950 ramp

primary
#666D19
secondary
#483FA2
accent
#42E650
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666D19

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

Preview Lab → · Contrast checker → · Palette generator →

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