#666F27#666F27

#666F27 is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 51.9% C 0.096 H 115.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#666F27
RGBrgb(102, 111, 39)
HSLhsl(68, 48%, 29%)
HSVhsv(68, 65%, 44%)
CMYKcmyk(8.1%, 0%, 64.9%, 56.5%)
CIE-LABlab(44.72, -14.19, 37.76)
CIE-LCHlch(44.72, 40.34, 110.60°)
OKLaboklab(51.85% -0.0419 0.0864)
OKLCHoklch(51.85% 0.096 115.9)
XYZxyz(11.5304, 14.3403, 4.0796)
Luminance0.1434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666F27 #30276F
analogous
#6F5427 #666F27 #426F27
triadic
#666F27 #27666F #6F2766
tetradic
#666F27 #276F54 #30276F #6F2742
square
#666F27 #276F54 #30276F #6F2742
split-complementary
#666F27 #27426F #54276F
monochromatic
#151708 #3C4217 #666F27 #909C37 #B3C14F

Accessibility & contrast

On white

5.43
#666F27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#666F27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666F27
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666F27#FFFFFF#000000##FFFFFF
##666F271.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77691E
Deuteranopia (green-blind)
#766A2C
Tritanopia (blue-blind)
#6C6960
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #666f27;
/* rgb */ color: rgb(102, 111, 39);
/* oklch */ color: oklch(51.9% 0.096 115.9);
Tailwind
colors: {
  custom: {
    50: '#949865',
    500: '#666f27',
    950: '#000000',
  },
}
SCSS
$custom: #666f27;
$custom-light: #949865;
$custom-dark: #000000;
JSON
{
  "hex": "#666f27",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 39
  },
  "hsl": {
    "h": 67.5,
    "s": 48,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51853,
    "c": 0.09598,
    "h": 115.9
  },
  "luminance": 0.1434
}

Semantic roles & 50–950 ramp

primary
#666F27
secondary
#5A50A2
accent
#50D861
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #666F27

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

Preview Lab → · Contrast checker → · Palette generator →

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