#668F22#668F22

#668F22 is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 59.9% C 0.142 H 128.4°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#668F22
RGBrgb(102, 143, 34)
HSLhsl(83, 62%, 35%)
HSVhsv(83, 76%, 56%)
CMYKcmyk(28.7%, 0%, 76.2%, 43.9%)
CIE-LABlab(54.64, -30.79, 49.93)
CIE-LCHlch(54.64, 58.66, 121.66°)
OKLaboklab(59.86% -0.0881 0.1112)
OKLCHoklch(59.86% 0.142 128.4)
XYZxyz(15.5907, 22.5848, 5.0510)
Luminance0.2258 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668F22 #4B228F
analogous
#8F8222 #668F22 #2F8F22
triadic
#668F22 #22668F #8F2266
tetradic
#668F22 #228F82 #4B228F #8F222F
square
#668F22 #228F82 #4B228F #8F222F
split-complementary
#668F22 #222F8F #82228F
monochromatic
#1F2C0A #435E16 #668F22 #89C02E #A6D755

Accessibility & contrast

On white

3.81
#668F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#668F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668F22
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668F22#FFFFFF#000000##000000
##668F221.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#96850A
Deuteranopia (green-blind)
#91822D
Tritanopia (blue-blind)
#6A887A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #668f22;
/* rgb */ color: rgb(102, 143, 34);
/* oklch */ color: oklch(59.9% 0.142 128.4);
Tailwind
colors: {
  custom: {
    50: '#95b066',
    500: '#668f22',
    950: '#000000',
  },
}
SCSS
$custom: #668f22;
$custom-light: #95b066;
$custom-dark: #000000;
JSON
{
  "hex": "#668f22",
  "rgb": {
    "r": 102,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 82.569,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59858,
    "c": 0.14186,
    "h": 128.4
  },
  "luminance": 0.22585
}

Semantic roles & 50–950 ramp

primary
#668F22
secondary
#7A52BA
accent
#43E580
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668F22

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

Preview Lab → · Contrast checker → · Palette generator →

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