#666D1B#666D1B

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

Color values

HEX#666D1B
RGBrgb(102, 109, 27)
HSLhsl(65, 60%, 27%)
HSVhsv(65, 75%, 43%)
CMYKcmyk(6.4%, 0%, 75.2%, 57.3%)
CIE-LABlab(44.00, -13.90, 42.25)
CIE-LCHlch(44.00, 44.48, 108.22°)
OKLaboklab(51.25% -0.0424 0.0938)
OKLCHoklch(51.25% 0.103 114.3)
XYZxyz(11.1463, 13.8414, 3.1212)
Luminance0.1384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666D1B #221B6D
analogous
#6D4B1B #666D1B #3D6D1B
triadic
#666D1B #1B666D #6D1B66
tetradic
#666D1B #1B6D4B #221B6D #6D1B3D
square
#666D1B #1B6D4B #221B6D #6D1B3D
split-complementary
#666D1B #1B3D6D #4B1B6D
monochromatic
#171906 #383C0F #666D1B #949E27 #C0CD35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##666D1B#FFFFFF#000000##FFFFFF
##666D1B1.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)
#75670C
Deuteranopia (green-blind)
#756922
Tritanopia (blue-blind)
#6D665D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #666d1b;
/* rgb */ color: rgb(102, 109, 27);
/* oklch */ color: oklch(51.3% 0.103 114.3);
Tailwind
colors: {
  custom: {
    50: '#94965e',
    500: '#666d1b',
    950: '#000000',
  },
}
SCSS
$custom: #666d1b;
$custom-light: #94965e;
$custom-dark: #000000;
JSON
{
  "hex": "#666d1b",
  "rgb": {
    "r": 102,
    "g": 109,
    "b": 27
  },
  "hsl": {
    "h": 65.122,
    "s": 60.294,
    "l": 26.667
  },
  "oklch": {
    "l": 0.51251,
    "c": 0.1029,
    "h": 114.3
  },
  "luminance": 0.13841
}

Semantic roles & 50–950 ramp

primary
#666D1B
secondary
#4A42A2
accent
#44E352
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #666D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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