#666F31#666F31

#666F31 is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 52.0% C 0.086 H 116.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#666F31
RGBrgb(102, 111, 49)
HSLhsl(69, 39%, 31%)
HSVhsv(69, 56%, 44%)
CMYKcmyk(8.1%, 0%, 55.9%, 56.5%)
CIE-LABlab(44.82, -13.31, 32.91)
CIE-LCHlch(44.82, 35.50, 112.02°)
OKLaboklab(51.97% -0.0383 0.0773)
OKLCHoklch(51.97% 0.086 116.3)
XYZxyz(11.7185, 14.4155, 5.0703)
Luminance0.1442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666F31 #3A316F
analogous
#6F5931 #666F31 #476F31
triadic
#666F31 #31666F #6F3166
tetradic
#666F31 #316F59 #3A316F #6F3147
square
#666F31 #316F59 #3A316F #6F3147
split-complementary
#666F31 #31476F #59316F
monochromatic
#181A0C #3F451E #666F31 #8D9944 #ACB961

Accessibility & contrast

On white

5.41
#666F31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #666F31
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666F31#FFFFFF#000000##FFFFFF
##666F311.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766A2B
Deuteranopia (green-blind)
#756A35
Tritanopia (blue-blind)
#6C6961
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #666f31;
/* rgb */ color: rgb(102, 111, 49);
/* oklch */ color: oklch(52.0% 0.086 116.3);
Tailwind
colors: {
  custom: {
    50: '#93986b',
    500: '#666f31',
    950: '#000000',
  },
}
SCSS
$custom: #666f31;
$custom-light: #93986b;
$custom-dark: #000000;
JSON
{
  "hex": "#666f31",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 49
  },
  "hsl": {
    "h": 68.71,
    "s": 38.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51972,
    "c": 0.08625,
    "h": 116.3
  },
  "luminance": 0.14415
}

Semantic roles & 50–950 ramp

primary
#666F31
secondary
#665CA0
accent
#59CF6A
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0D07
muted
#7E7E7A

Preview Lab

Preview with #666F31

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

Preview Lab → · Contrast checker → · Palette generator →

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