#666E22#666E22

#666E22 is a mid, moderate yellow. Relative luminance 0.141; OKLCH L 51.6% C 0.099 H 115.1°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#666E22
RGBrgb(102, 110, 34)
HSLhsl(66, 53%, 28%)
HSVhsv(66, 69%, 43%)
CMYKcmyk(7.3%, 0%, 69.1%, 56.9%)
CIE-LABlab(44.37, -14.02, 39.68)
CIE-LCHlch(44.37, 42.08, 109.46°)
OKLaboklab(51.56% -0.0419 0.0896)
OKLCHoklch(51.56% 0.099 115.1)
XYZxyz(11.3444, 14.0923, 3.6355)
Luminance0.1409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666E22 #2A226E
analogous
#6E5022 #666E22 #406E22
triadic
#666E22 #22666E #6E2266
tetradic
#666E22 #226E50 #2A226E #6E2240
square
#666E22 #226E50 #2A226E #6E2240
split-complementary
#666E22 #22406E #50226E
monochromatic
#161707 #3B3F14 #666E22 #919D30 #B8C545

Accessibility & contrast

On white

5.50
#666E22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#666E22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666E22
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666E22#FFFFFF#000000##FFFFFF
##666E221.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766817
Deuteranopia (green-blind)
#756A27
Tritanopia (blue-blind)
#6D685F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #666e22;
/* rgb */ color: rgb(102, 110, 34);
/* oklch */ color: oklch(51.6% 0.099 115.1);
Tailwind
colors: {
  custom: {
    50: '#949762',
    500: '#666e22',
    950: '#000000',
  },
}
SCSS
$custom: #666e22;
$custom-light: #949762;
$custom-dark: #000000;
JSON
{
  "hex": "#666e22",
  "rgb": {
    "r": 102,
    "g": 110,
    "b": 34
  },
  "hsl": {
    "h": 66.316,
    "s": 52.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51557,
    "c": 0.09893,
    "h": 115.1
  },
  "luminance": 0.14092
}

Semantic roles & 50–950 ramp

primary
#666E22
secondary
#544AA1
accent
#4CDC5B
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #666E22

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

Preview Lab → · Contrast checker → · Palette generator →

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