#666F22#666F22

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

Color values

HEX#666F22
RGBrgb(102, 111, 34)
HSLhsl(67, 53%, 28%)
HSVhsv(67, 69%, 44%)
CMYKcmyk(8.1%, 0%, 69.4%, 56.5%)
CIE-LABlab(44.67, -14.56, 39.99)
CIE-LCHlch(44.67, 42.56, 110.01°)
OKLaboklab(51.8% -0.0435 0.0903)
OKLCHoklch(51.8% 0.1 115.7)
XYZxyz(11.4529, 14.3093, 3.6717)
Luminance0.1431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666F22 #2B226F
analogous
#6F5122 #666F22 #3F6F22
triadic
#666F22 #22666F #6F2266
tetradic
#666F22 #226F51 #2B226F #6F223F
square
#666F22 #226F51 #2B226F #6F223F
split-complementary
#666F22 #223F6F #51226F
monochromatic
#161707 #3B4014 #666F22 #919E30 #B7C645

Accessibility & contrast

On white

5.44
#666F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#666F22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666F22
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666F22#FFFFFF#000000##FFFFFF
##666F221.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776917
Deuteranopia (green-blind)
#766A28
Tritanopia (blue-blind)
#6D695F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #666f22;
/* rgb */ color: rgb(102, 111, 34);
/* oklch */ color: oklch(51.8% 0.100 115.7);
Tailwind
colors: {
  custom: {
    50: '#949862',
    500: '#666f22',
    950: '#000000',
  },
}
SCSS
$custom: #666f22;
$custom-light: #949862;
$custom-dark: #000000;
JSON
{
  "hex": "#666f22",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 34
  },
  "hsl": {
    "h": 67.013,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51804,
    "c": 0.1002,
    "h": 115.7
  },
  "luminance": 0.14309
}

Semantic roles & 50–950 ramp

primary
#666F22
secondary
#554AA2
accent
#4BDD5C
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #666F22

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

Preview Lab → · Contrast checker → · Palette generator →

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