#666F2D#666F2D

#666F2D is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 51.9% C 0.090 H 116.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#666F2D
RGBrgb(102, 111, 45)
HSLhsl(68, 42%, 31%)
HSVhsv(68, 59%, 44%)
CMYKcmyk(8.1%, 0%, 59.5%, 56.5%)
CIE-LABlab(44.78, -13.69, 34.90)
CIE-LCHlch(44.78, 37.49, 111.42°)
OKLaboklab(51.92% -0.0398 0.0811)
OKLCHoklch(51.92% 0.09 116.1)
XYZxyz(11.6378, 14.3833, 4.6453)
Luminance0.1438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666F2D #362D6F
analogous
#6F572D #666F2D #456F2D
triadic
#666F2D #2D666F #6F2D66
tetradic
#666F2D #2D6F57 #362D6F #6F2D45
square
#666F2D #2D6F57 #362D6F #6F2D45
split-complementary
#666F2D #2D456F #572D6F
monochromatic
#16180A #3E431B #666F2D #8E9B3F #AFBC5A

Accessibility & contrast

On white

5.42
#666F2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#666F2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666F2D
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666F2D#FFFFFF#000000##FFFFFF
##666F2D1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766A26
Deuteranopia (green-blind)
#766A31
Tritanopia (blue-blind)
#6C6961
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #666f2d;
/* rgb */ color: rgb(102, 111, 45);
/* oklch */ color: oklch(51.9% 0.090 116.1);
Tailwind
colors: {
  custom: {
    50: '#939868',
    500: '#666f2d',
    950: '#000000',
  },
}
SCSS
$custom: #666f2d;
$custom-light: #939868;
$custom-dark: #000000;
JSON
{
  "hex": "#666f2d",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 45
  },
  "hsl": {
    "h": 68.182,
    "s": 42.308,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51921,
    "c": 0.09034,
    "h": 116.1
  },
  "luminance": 0.14383
}

Semantic roles & 50–950 ramp

primary
#666F2D
secondary
#6157A1
accent
#56D267
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #666F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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