#666A28#666A28

#666A28 is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 50.6% C 0.089 H 112.4°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#666A28
RGBrgb(102, 106, 40)
HSLhsl(64, 45%, 29%)
HSVhsv(64, 62%, 42%)
CMYKcmyk(3.8%, 0%, 62.3%, 58.4%)
CIE-LABlab(43.19, -11.35, 35.62)
CIE-LCHlch(43.19, 37.38, 107.67°)
OKLaboklab(50.64% -0.0338 0.082)
OKLCHoklch(50.64% 0.089 112.4)
XYZxyz(11.0168, 13.2863, 3.9912)
Luminance0.1329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666A28 #2C286A
analogous
#6A4D28 #666A28 #456A28
triadic
#666A28 #28666A #6A2866
tetradic
#666A28 #286A4D #2C286A #6A2845
square
#666A28 #286A4D #2C286A #6A2845
split-complementary
#666A28 #28456A #4D286A
monochromatic
#151608 #3B3E17 #666A28 #919639 #B6BD50

Accessibility & contrast

On white

5.74
#666A28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#666A28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666A28
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666A28#FFFFFF#000000##FFFFFF
##666A281.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726521
Deuteranopia (green-blind)
#72672C
Tritanopia (blue-blind)
#6D645C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #666a28;
/* rgb */ color: rgb(102, 106, 40);
/* oklch */ color: oklch(50.6% 0.089 112.4);
Tailwind
colors: {
  custom: {
    50: '#949465',
    500: '#666a28',
    950: '#000000',
  },
}
SCSS
$custom: #666a28;
$custom-light: #949465;
$custom-dark: #000000;
JSON
{
  "hex": "#666a28",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 40
  },
  "hsl": {
    "h": 63.636,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50635,
    "c": 0.08864,
    "h": 112.4
  },
  "luminance": 0.13286
}

Semantic roles & 50–950 ramp

primary
#666A28
secondary
#56519D
accent
#53D55B
background
#F9F9F6
surface
#F2F1EB
border
#CCCBC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #666A28

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

Preview Lab → · Contrast checker → · Palette generator →

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