#666A22#666A22

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

Color values

HEX#666A22
RGBrgb(102, 106, 34)
HSLhsl(63, 51%, 27%)
HSVhsv(63, 68%, 42%)
CMYKcmyk(3.8%, 0%, 67.9%, 58.4%)
CIE-LABlab(43.14, -11.80, 38.40)
CIE-LCHlch(43.14, 40.17, 107.09°)
OKLaboklab(50.57% -0.0357 0.0869)
OKLCHoklch(50.57% 0.094 112.4)
XYZxyz(10.9226, 13.2486, 3.4949)
Luminance0.1325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666A22 #26226A
analogous
#6A4A22 #666A22 #426A22
triadic
#666A22 #22666A #6A2266
tetradic
#666A22 #226A4A #26226A #6A2242
square
#666A22 #226A4A #26226A #6A2242
split-complementary
#666A22 #22426A #4A226A
monochromatic
#161707 #393C13 #666A22 #939831 #BCC344

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##666A22#FFFFFF#000000##FFFFFF
##666A221.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)
#726518
Deuteranopia (green-blind)
#726727
Tritanopia (blue-blind)
#6D635B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #666a22;
/* rgb */ color: rgb(102, 106, 34);
/* oklch */ color: oklch(50.6% 0.094 112.4);
Tailwind
colors: {
  custom: {
    50: '#949461',
    500: '#666a22',
    950: '#000000',
  },
}
SCSS
$custom: #666a22;
$custom-light: #949461;
$custom-dark: #000000;
JSON
{
  "hex": "#666a22",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 34
  },
  "hsl": {
    "h": 63.333,
    "s": 51.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50572,
    "c": 0.09398,
    "h": 112.4
  },
  "luminance": 0.13248
}

Semantic roles & 50–950 ramp

primary
#666A22
secondary
#4F4A9E
accent
#4DDB55
background
#F9F9F5
surface
#F2F1EA
border
#CCCBC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #666A22

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

Preview Lab → · Contrast checker → · Palette generator →

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