#666E1B#666E1B

#666E1B is a mid, moderate yellow. Relative luminance 0.141; OKLCH L 51.5% C 0.104 H 114.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#666E1B
RGBrgb(102, 110, 27)
HSLhsl(66, 61%, 27%)
HSVhsv(66, 75%, 43%)
CMYKcmyk(7.3%, 0%, 75.5%, 56.9%)
CIE-LABlab(44.31, -14.45, 42.55)
CIE-LCHlch(44.31, 44.93, 108.76°)
OKLaboklab(51.5% -0.0439 0.0944)
OKLCHoklch(51.5% 0.104 114.9)
XYZxyz(11.2536, 14.0560, 3.1569)
Luminance0.1406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666E1B #231B6E
analogous
#6E4D1B #666E1B #3D6E1B
triadic
#666E1B #1B666E #6E1B66
tetradic
#666E1B #1B6E4D #231B6E #6E1B3D
square
#666E1B #1B6E4D #231B6E #6E1B3D
split-complementary
#666E1B #1B3D6E #4D1B6E
monochromatic
#171906 #383D0F #666E1B #949F27 #BFCE36

Accessibility & contrast

On white

5.51
#666E1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#666E1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666E1B
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666E1B#FFFFFF#000000##FFFFFF
##666E1B1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76680C
Deuteranopia (green-blind)
#766922
Tritanopia (blue-blind)
#6D675E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #666e1b;
/* rgb */ color: rgb(102, 110, 27);
/* oklch */ color: oklch(51.5% 0.104 114.9);
Tailwind
colors: {
  custom: {
    50: '#94975e',
    500: '#666e1b',
    950: '#000000',
  },
}
SCSS
$custom: #666e1b;
$custom-light: #94975e;
$custom-dark: #000000;
JSON
{
  "hex": "#666e1b",
  "rgb": {
    "r": 102,
    "g": 110,
    "b": 27
  },
  "hsl": {
    "h": 65.783,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.51498,
    "c": 0.10411,
    "h": 114.9
  },
  "luminance": 0.14056
}

Semantic roles & 50–950 ramp

primary
#666E1B
secondary
#4B42A3
accent
#44E453
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #666E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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