#666F28#666F28

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

Color values

HEX#666F28
RGBrgb(102, 111, 40)
HSLhsl(68, 47%, 30%)
HSVhsv(68, 64%, 44%)
CMYKcmyk(8.1%, 0%, 64%, 56.5%)
CIE-LABlab(44.73, -14.11, 37.30)
CIE-LCHlch(44.73, 39.88, 110.73°)
OKLaboklab(51.86% -0.0415 0.0855)
OKLCHoklch(51.86% 0.095 115.9)
XYZxyz(11.5472, 14.3470, 4.1680)
Luminance0.1435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666F28 #31286F
analogous
#6F5528 #666F28 #426F28
triadic
#666F28 #28666F #6F2866
tetradic
#666F28 #286F55 #31286F #6F2842
square
#666F28 #286F55 #31286F #6F2842
split-complementary
#666F28 #28426F #55286F
monochromatic
#151608 #3D4218 #666F28 #8F9C38 #B2C051

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##666F28#FFFFFF#000000##FFFFFF
##666F281.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)
#776920
Deuteranopia (green-blind)
#766A2D
Tritanopia (blue-blind)
#6C6960
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #666f28;
/* rgb */ color: rgb(102, 111, 40);
/* oklch */ color: oklch(51.9% 0.095 115.9);
Tailwind
colors: {
  custom: {
    50: '#949865',
    500: '#666f28',
    950: '#000000',
  },
}
SCSS
$custom: #666f28;
$custom-light: #949865;
$custom-dark: #000000;
JSON
{
  "hex": "#666f28",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 40
  },
  "hsl": {
    "h": 67.606,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51864,
    "c": 0.09508,
    "h": 115.9
  },
  "luminance": 0.14347
}

Semantic roles & 50–950 ramp

primary
#666F28
secondary
#5C51A1
accent
#51D762
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #666F28

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

Preview Lab → · Contrast checker → · Palette generator →

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