#666F1C#666F1C

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

Color values

HEX#666F1C
RGBrgb(102, 111, 28)
HSLhsl(67, 60%, 27%)
HSVhsv(67, 75%, 44%)
CMYKcmyk(8.1%, 0%, 74.8%, 56.5%)
CIE-LABlab(44.63, -14.94, 42.46)
CIE-LCHlch(44.63, 45.01, 109.38°)
OKLaboklab(51.75% -0.0451 0.0944)
OKLCHoklch(51.75% 0.105 115.6)
XYZxyz(11.3738, 14.2777, 3.2551)
Luminance0.1428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666F1C #251C6F
analogous
#6F4F1C #666F1C #3D6F1C
triadic
#666F1C #1C666F #6F1C66
tetradic
#666F1C #1C6F4F #251C6F #6F1C3D
square
#666F1C #1C6F4F #251C6F #6F1C3D
split-complementary
#666F1C #1C3D6F #4F1C6F
monochromatic
#161806 #393E10 #666F1C #93A028 #BDCD38

Accessibility & contrast

On white

5.45
#666F1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #666F1C
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666F1C#FFFFFF#000000##FFFFFF
##666F1C1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77690D
Deuteranopia (green-blind)
#776A23
Tritanopia (blue-blind)
#6D685F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #666f1c;
/* rgb */ color: rgb(102, 111, 28);
/* oklch */ color: oklch(51.8% 0.105 115.6);
Tailwind
colors: {
  custom: {
    50: '#94985f',
    500: '#666f1c',
    950: '#000000',
  },
}
SCSS
$custom: #666f1c;
$custom-light: #94985f;
$custom-dark: #000000;
JSON
{
  "hex": "#666f1c",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 28
  },
  "hsl": {
    "h": 66.506,
    "s": 59.712,
    "l": 27.255
  },
  "oklch": {
    "l": 0.51754,
    "c": 0.10465,
    "h": 115.6
  },
  "luminance": 0.14277
}

Semantic roles & 50–950 ramp

primary
#666F1C
secondary
#4E43A4
accent
#45E356
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #666F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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