#668221#668221

#668221 is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.6% C 0.126 H 124.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#668221
RGBrgb(102, 130, 33)
HSLhsl(77, 60%, 32%)
HSVhsv(77, 75%, 51%)
CMYKcmyk(21.5%, 0%, 74.6%, 49%)
CIE-LABlab(50.57, -24.55, 46.34)
CIE-LCHlch(50.57, 52.44, 117.91°)
OKLaboklab(56.55% -0.0712 0.1034)
OKLCHoklch(56.55% 0.126 124.5)
XYZxyz(13.7368, 18.8997, 4.3629)
Luminance0.1890 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668221 #3D2182
analogous
#826E21 #668221 #358221
triadic
#668221 #216682 #822166
tetradic
#668221 #21826E #3D2182 #822135
square
#668221 #21826E #3D2182 #822135
split-complementary
#668221 #213582 #6E2182
monochromatic
#192008 #405115 #668221 #8CB32D #ABD24C

Accessibility & contrast

On white

4.39
#668221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#668221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668221
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668221#FFFFFF#000000##000000
##6682211.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#89790F
Deuteranopia (green-blind)
#86782A
Tritanopia (blue-blind)
#6B7B6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #668221;
/* rgb */ color: rgb(102, 130, 33);
/* oklch */ color: oklch(56.6% 0.126 124.5);
Tailwind
colors: {
  custom: {
    50: '#95a663',
    500: '#668221',
    950: '#000000',
  },
}
SCSS
$custom: #668221;
$custom-light: #95a663;
$custom-dark: #000000;
JSON
{
  "hex": "#668221",
  "rgb": {
    "r": 102,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 77.32,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56553,
    "c": 0.12556,
    "h": 124.5
  },
  "luminance": 0.189
}

Semantic roles & 50–950 ramp

primary
#668221
secondary
#694AB4
accent
#45E373
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #668221

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

Preview Lab → · Contrast checker → · Palette generator →

#668221 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva