#666A19#666A19

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

Color values

HEX#666A19
RGBrgb(102, 106, 25)
HSLhsl(63, 62%, 26%)
HSVhsv(63, 76%, 42%)
CMYKcmyk(3.8%, 0%, 76.4%, 58.4%)
CIE-LABlab(43.07, -12.36, 42.12)
CIE-LCHlch(43.07, 43.90, 106.35°)
OKLaboklab(50.5% -0.0383 0.0931)
OKLCHoklch(50.5% 0.101 112.3)
XYZxyz(10.8093, 13.2033, 2.8986)
Luminance0.1320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666A19 #1D196A
analogous
#6A4519 #666A19 #3D6A19
triadic
#666A19 #19666A #6A1966
tetradic
#666A19 #196A45 #1D196A #6A193D
square
#666A19 #196A45 #1D196A #6A193D
split-complementary
#666A19 #193D6A #45196A
monochromatic
#181906 #36380D #666A19 #969C25 #C5CD30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##666A19#FFFFFF#000000##FFFFFF
##666A191.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)
#736509
Deuteranopia (green-blind)
#73671F
Tritanopia (blue-blind)
#6D635A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #666a19;
/* rgb */ color: rgb(102, 106, 25);
/* oklch */ color: oklch(50.5% 0.101 112.3);
Tailwind
colors: {
  custom: {
    50: '#94945c',
    500: '#666a19',
    950: '#000000',
  },
}
SCSS
$custom: #666a19;
$custom-light: #94945c;
$custom-dark: #000000;
JSON
{
  "hex": "#666a19",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 25
  },
  "hsl": {
    "h": 62.963,
    "s": 61.832,
    "l": 25.686
  },
  "oklch": {
    "l": 0.50497,
    "c": 0.10068,
    "h": 112.3
  },
  "luminance": 0.13203
}

Semantic roles & 50–950 ramp

primary
#666A19
secondary
#443FA0
accent
#43E54B
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666A19

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

Preview Lab → · Contrast checker → · Palette generator →

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