#666F26#666F26

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

Color values

HEX#666F26
RGBrgb(102, 111, 38)
HSLhsl(67, 49%, 29%)
HSVhsv(67, 66%, 44%)
CMYKcmyk(8.1%, 0%, 65.8%, 56.5%)
CIE-LABlab(44.71, -14.27, 38.22)
CIE-LCHlch(44.71, 40.80, 110.48°)
OKLaboklab(51.84% -0.0422 0.0872)
OKLCHoklch(51.84% 0.097 115.8)
XYZxyz(11.5140, 14.3338, 3.9935)
Luminance0.1433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666F26 #2F266F
analogous
#6F5426 #666F26 #426F26
triadic
#666F26 #26666F #6F2666
tetradic
#666F26 #266F54 #2F266F #6F2642
square
#666F26 #266F54 #2F266F #6F2642
split-complementary
#666F26 #26426F #54266F
monochromatic
#151708 #3C4116 #666F26 #909D36 #B4C24D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##666F26#FFFFFF#000000##FFFFFF
##666F261.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)
#77691D
Deuteranopia (green-blind)
#766A2B
Tritanopia (blue-blind)
#6C6960
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #666f26;
/* rgb */ color: rgb(102, 111, 38);
/* oklch */ color: oklch(51.8% 0.097 115.8);
Tailwind
colors: {
  custom: {
    50: '#949864',
    500: '#666f26',
    950: '#000000',
  },
}
SCSS
$custom: #666f26;
$custom-light: #949864;
$custom-dark: #000000;
JSON
{
  "hex": "#666f26",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 38
  },
  "hsl": {
    "h": 67.397,
    "s": 48.993,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51843,
    "c": 0.09686,
    "h": 115.8
  },
  "luminance": 0.14334
}

Semantic roles & 50–950 ramp

primary
#666F26
secondary
#594FA2
accent
#4FD960
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #666F26

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

Preview Lab → · Contrast checker → · Palette generator →

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