#666A26#666A26

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

Color values

HEX#666A26
RGBrgb(102, 106, 38)
HSLhsl(64, 47%, 28%)
HSVhsv(64, 64%, 42%)
CMYKcmyk(3.8%, 0%, 64.2%, 58.4%)
CIE-LABlab(43.17, -11.51, 36.57)
CIE-LCHlch(43.17, 38.33, 107.47°)
OKLaboklab(50.61% -0.0344 0.0837)
OKLCHoklch(50.61% 0.09 112.4)
XYZxyz(10.9837, 13.2730, 3.8167)
Luminance0.1327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666A26 #2A266A
analogous
#6A4C26 #666A26 #446A26
triadic
#666A26 #26666A #6A2666
tetradic
#666A26 #266A4C #2A266A #6A2644
square
#666A26 #266A4C #2A266A #6A2644
split-complementary
#666A26 #26446A #4C266A
monochromatic
#161708 #3B3D16 #666A26 #919736 #B8BF4C

Accessibility & contrast

On white

5.75
#666A26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#666A26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666A26
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666A26#FFFFFF#000000##FFFFFF
##666A261.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72651E
Deuteranopia (green-blind)
#72672A
Tritanopia (blue-blind)
#6D645C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #666a26;
/* rgb */ color: rgb(102, 106, 38);
/* oklch */ color: oklch(50.6% 0.090 112.4);
Tailwind
colors: {
  custom: {
    50: '#949464',
    500: '#666a26',
    950: '#000000',
  },
}
SCSS
$custom: #666a26;
$custom-light: #949464;
$custom-dark: #000000;
JSON
{
  "hex": "#666a26",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 38
  },
  "hsl": {
    "h": 63.529,
    "s": 47.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50613,
    "c": 0.09049,
    "h": 112.4
  },
  "luminance": 0.13273
}

Semantic roles & 50–950 ramp

primary
#666A26
secondary
#544F9D
accent
#51D759
background
#F9F9F6
surface
#F2F1EB
border
#CCCBC6
text
#0D0D05
muted
#7E7E7A

Preview Lab

Preview with #666A26

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

Preview Lab → · Contrast checker → · Palette generator →

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