#666D1C#666D1C

#666D1C is a mid, moderate yellow. Relative luminance 0.138; OKLCH L 51.3% C 0.102 H 114.3°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#666D1C
RGBrgb(102, 109, 28)
HSLhsl(65, 59%, 27%)
HSVhsv(65, 74%, 43%)
CMYKcmyk(6.4%, 0%, 74.3%, 57.3%)
CIE-LABlab(44.01, -13.85, 41.86)
CIE-LCHlch(44.01, 44.09, 108.31°)
OKLaboklab(51.26% -0.0421 0.0931)
OKLCHoklch(51.26% 0.102 114.3)
XYZxyz(11.1580, 13.8461, 3.1832)
Luminance0.1385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666D1C #231C6D
analogous
#6D4C1C #666D1C #3E6D1C
triadic
#666D1C #1C666D #6D1C66
tetradic
#666D1C #1C6D4C #231C6D #6D1C3E
square
#666D1C #1C6D4C #231C6D #6D1C3E
split-complementary
#666D1C #1C3E6D #4C1C6D
monochromatic
#171806 #383C0F #666D1C #949E29 #BFCC38

Accessibility & contrast

On white

5.57
#666D1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#666D1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666D1C
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666D1C#FFFFFF#000000##FFFFFF
##666D1C1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75670E
Deuteranopia (green-blind)
#756922
Tritanopia (blue-blind)
#6D665D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #666d1c;
/* rgb */ color: rgb(102, 109, 28);
/* oklch */ color: oklch(51.3% 0.102 114.3);
Tailwind
colors: {
  custom: {
    50: '#94965e',
    500: '#666d1c',
    950: '#000000',
  },
}
SCSS
$custom: #666d1c;
$custom-light: #94965e;
$custom-dark: #000000;
JSON
{
  "hex": "#666d1c",
  "rgb": {
    "r": 102,
    "g": 109,
    "b": 28
  },
  "hsl": {
    "h": 65.185,
    "s": 59.124,
    "l": 26.863
  },
  "oklch": {
    "l": 0.51259,
    "c": 0.10221,
    "h": 114.3
  },
  "luminance": 0.13846
}

Semantic roles & 50–950 ramp

primary
#666D1C
secondary
#4B43A2
accent
#45E253
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #666D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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