#666D22#666D22

#666D22 is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.3% C 0.098 H 114.4°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#666D22
RGBrgb(102, 109, 34)
HSLhsl(66, 52%, 28%)
HSVhsv(66, 69%, 43%)
CMYKcmyk(6.4%, 0%, 68.8%, 57.3%)
CIE-LABlab(44.06, -13.47, 39.36)
CIE-LCHlch(44.06, 41.60, 108.89°)
OKLaboklab(51.31% -0.0404 0.0889)
OKLCHoklch(51.31% 0.098 114.4)
XYZxyz(11.2371, 13.8777, 3.5998)
Luminance0.1388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666D22 #29226D
analogous
#6D4E22 #666D22 #406D22
triadic
#666D22 #22666D #6D2266
tetradic
#666D22 #226D4E #29226D #6D2240
square
#666D22 #226D4E #29226D #6D2240
split-complementary
#666D22 #22406D #4E226D
monochromatic
#161707 #3A3E13 #666D22 #929C31 #B9C545

Accessibility & contrast

On white

5.56
#666D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#666D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666D22
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666D22#FFFFFF#000000##FFFFFF
##666D221.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756818
Deuteranopia (green-blind)
#756927
Tritanopia (blue-blind)
#6D675E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #666d22;
/* rgb */ color: rgb(102, 109, 34);
/* oklch */ color: oklch(51.3% 0.098 114.4);
Tailwind
colors: {
  custom: {
    50: '#949662',
    500: '#666d22',
    950: '#000000',
  },
}
SCSS
$custom: #666d22;
$custom-light: #949662;
$custom-dark: #000000;
JSON
{
  "hex": "#666d22",
  "rgb": {
    "r": 102,
    "g": 109,
    "b": 34
  },
  "hsl": {
    "h": 65.6,
    "s": 52.448,
    "l": 28.039
  },
  "oklch": {
    "l": 0.5131,
    "c": 0.09769,
    "h": 114.4
  },
  "luminance": 0.13878
}

Semantic roles & 50–950 ramp

primary
#666D22
secondary
#524AA1
accent
#4CDC59
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #666D22

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

Preview Lab → · Contrast checker → · Palette generator →

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