#666B19#666B19

#666B19 is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 50.7% C 0.102 H 113.0°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#666B19
RGBrgb(102, 107, 25)
HSLhsl(64, 62%, 26%)
HSVhsv(64, 77%, 42%)
CMYKcmyk(4.7%, 0%, 76.6%, 58%)
CIE-LABlab(43.38, -12.91, 42.42)
CIE-LCHlch(43.38, 44.34, 106.93°)
OKLaboklab(50.74% -0.0398 0.0938)
OKLCHoklch(50.74% 0.102 113)
XYZxyz(10.9130, 13.4106, 2.9331)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666B19 #1E196B
analogous
#6B4719 #666B19 #3D6B19
triadic
#666B19 #19666B #6B1966
tetradic
#666B19 #196B47 #1E196B #6B193D
square
#666B19 #196B47 #1E196B #6B193D
split-complementary
#666B19 #193D6B #47196B
monochromatic
#181906 #37390D #666B19 #959D25 #C5CE30

Accessibility & contrast

On white

5.70
#666B19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#666B19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666B19
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666B19#FFFFFF#000000##FFFFFF
##666B191.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736609
Deuteranopia (green-blind)
#746720
Tritanopia (blue-blind)
#6D645B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #666b19;
/* rgb */ color: rgb(102, 107, 25);
/* oklch */ color: oklch(50.7% 0.102 113.0);
Tailwind
colors: {
  custom: {
    50: '#94955c',
    500: '#666b19',
    950: '#000000',
  },
}
SCSS
$custom: #666b19;
$custom-light: #94955c;
$custom-dark: #000000;
JSON
{
  "hex": "#666b19",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 25
  },
  "hsl": {
    "h": 63.659,
    "s": 62.121,
    "l": 25.882
  },
  "oklch": {
    "l": 0.50743,
    "c": 0.10185,
    "h": 113
  },
  "luminance": 0.1341
}

Semantic roles & 50–950 ramp

primary
#666B19
secondary
#453FA1
accent
#43E54D
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666B19

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

Preview Lab → · Contrast checker → · Palette generator →

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