#666F1F#666F1F

#666F1F is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 51.8% C 0.103 H 115.6°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#666F1F
RGBrgb(102, 111, 31)
HSLhsl(67, 56%, 28%)
HSVhsv(67, 72%, 44%)
CMYKcmyk(8.1%, 0%, 72.1%, 56.5%)
CIE-LABlab(44.65, -14.76, 41.26)
CIE-LCHlch(44.65, 43.82, 109.68°)
OKLaboklab(51.78% -0.0443 0.0924)
OKLCHoklch(51.78% 0.103 115.6)
XYZxyz(11.4115, 14.2928, 3.4537)
Luminance0.1429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666F1F #281F6F
analogous
#6F501F #666F1F #3E6F1F
triadic
#666F1F #1F666F #6F1F66
tetradic
#666F1F #1F6F50 #281F6F #6F1F3E
square
#666F1F #1F6F50 #281F6F #6F1F3E
split-complementary
#666F1F #1F3E6F #501F6F
monochromatic
#161807 #3A3F12 #666F1F #929F2C #BAC93F

Accessibility & contrast

On white

5.44
#666F1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#666F1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666F1F
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666F1F#FFFFFF#000000##FFFFFF
##666F1F1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776912
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#6D685F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #666f1f;
/* rgb */ color: rgb(102, 111, 31);
/* oklch */ color: oklch(51.8% 0.103 115.6);
Tailwind
colors: {
  custom: {
    50: '#949860',
    500: '#666f1f',
    950: '#000000',
  },
}
SCSS
$custom: #666f1f;
$custom-light: #949860;
$custom-dark: #000000;
JSON
{
  "hex": "#666f1f",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 31
  },
  "hsl": {
    "h": 66.75,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51778,
    "c": 0.10251,
    "h": 115.6
  },
  "luminance": 0.14293
}

Semantic roles & 50–950 ramp

primary
#666F1F
secondary
#5147A3
accent
#48E059
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #666F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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