#666F1B#666F1B

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

Color values

HEX#666F1B
RGBrgb(102, 111, 27)
HSLhsl(66, 61%, 27%)
HSVhsv(66, 76%, 44%)
CMYKcmyk(8.1%, 0%, 75.7%, 56.5%)
CIE-LABlab(44.62, -14.99, 42.84)
CIE-LCHlch(44.62, 45.39, 109.29°)
OKLaboklab(51.75% -0.0454 0.095)
OKLCHoklch(51.75% 0.105 115.5)
XYZxyz(11.3621, 14.2730, 3.1931)
Luminance0.1427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666F1B #241B6F
analogous
#6F4E1B #666F1B #3C6F1B
triadic
#666F1B #1B666F #6F1B66
tetradic
#666F1B #1B6F4E #241B6F #6F1B3C
square
#666F1B #1B6F4E #241B6F #6F1B3C
split-complementary
#666F1B #1B3C6F #4E1B6F
monochromatic
#171906 #393E0F #666F1B #93A027 #BECE36

Accessibility & contrast

On white

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

On black

3.85
#666F1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##666F1B#FFFFFF#000000##FFFFFF
##666F1B1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #666f1b;
/* rgb */ color: rgb(102, 111, 27);
/* oklch */ color: oklch(51.7% 0.105 115.5);
Tailwind
colors: {
  custom: {
    50: '#94985e',
    500: '#666f1b',
    950: '#000000',
  },
}
SCSS
$custom: #666f1b;
$custom-light: #94985e;
$custom-dark: #000000;
JSON
{
  "hex": "#666f1b",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 27
  },
  "hsl": {
    "h": 66.429,
    "s": 60.87,
    "l": 27.059
  },
  "oklch": {
    "l": 0.51746,
    "c": 0.10533,
    "h": 115.5
  },
  "luminance": 0.14273
}

Semantic roles & 50–950 ramp

primary
#666F1B
secondary
#4C42A4
accent
#44E455
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #666F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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