#666B1E#666B1E

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

Color values

HEX#666B1E
RGBrgb(102, 107, 30)
HSLhsl(64, 56%, 27%)
HSVhsv(64, 72%, 42%)
CMYKcmyk(4.7%, 0%, 72%, 58%)
CIE-LABlab(43.41, -12.62, 40.44)
CIE-LCHlch(43.41, 42.36, 107.34°)
OKLaboklab(50.78% -0.0385 0.0905)
OKLCHoklch(50.78% 0.098 113)
XYZxyz(10.9718, 13.4341, 3.2431)
Luminance0.1343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666B1E #231E6B
analogous
#6B4A1E #666B1E #406B1E
triadic
#666B1E #1E666B #6B1E66
tetradic
#666B1E #1E6B4A #231E6B #6B1E40
square
#666B1E #1E6B4A #231E6B #6B1E40
split-complementary
#666B1E #1E406B #4A1E6B
monochromatic
#171807 #383B11 #666B1E #949B2B #BFC83B

Accessibility & contrast

On white

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

On black

3.69
#666B1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##666B1E#FFFFFF#000000##FFFFFF
##666B1E1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736612
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#6D645C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #666b1e;
/* rgb */ color: rgb(102, 107, 30);
/* oklch */ color: oklch(50.8% 0.098 113.0);
Tailwind
colors: {
  custom: {
    50: '#94955f',
    500: '#666b1e',
    950: '#000000',
  },
}
SCSS
$custom: #666b1e;
$custom-light: #94955f;
$custom-dark: #000000;
JSON
{
  "hex": "#666b1e",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 30
  },
  "hsl": {
    "h": 63.896,
    "s": 56.204,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50782,
    "c": 0.09835,
    "h": 113
  },
  "luminance": 0.13434
}

Semantic roles & 50–950 ramp

primary
#666B1E
secondary
#4B459F
accent
#48DF52
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #666B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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