#668C22#668C22

#668C22 is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 59.1% C 0.138 H 127.6°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#668C22
RGBrgb(102, 140, 34)
HSLhsl(82, 61%, 34%)
HSVhsv(82, 76%, 55%)
CMYKcmyk(27.1%, 0%, 75.7%, 45.1%)
CIE-LABlab(53.70, -29.37, 49.02)
CIE-LCHlch(53.70, 57.15, 120.92°)
OKLaboklab(59.1% -0.0843 0.1093)
OKLCHoklch(59.1% 0.138 127.6)
XYZxyz(15.1463, 21.6961, 4.9028)
Luminance0.2170 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668C22 #48228C
analogous
#8C7D22 #668C22 #318C22
triadic
#668C22 #22668C #8C2266
tetradic
#668C22 #228C7D #48228C #8C2231
square
#668C22 #228C7D #48228C #8C2231
split-complementary
#668C22 #22318C #7D228C
monochromatic
#1E2A0A #425B16 #668C22 #8ABD2E #A7D553

Accessibility & contrast

On white

3.93
#668C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#668C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668C22
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668C22#FFFFFF#000000##000000
##668C221.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#93820C
Deuteranopia (green-blind)
#8E802C
Tritanopia (blue-blind)
#6A8578
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #668c22;
/* rgb */ color: rgb(102, 140, 34);
/* oklch */ color: oklch(59.1% 0.138 127.6);
Tailwind
colors: {
  custom: {
    50: '#95ad65',
    500: '#668c22',
    950: '#000000',
  },
}
SCSS
$custom: #668c22;
$custom-light: #95ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#668c22",
  "rgb": {
    "r": 102,
    "g": 140,
    "b": 34
  },
  "hsl": {
    "h": 81.509,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59095,
    "c": 0.13797,
    "h": 127.6
  },
  "luminance": 0.21696
}

Semantic roles & 50–950 ramp

primary
#668C22
secondary
#7651B9
accent
#44E47D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668C22

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

Preview Lab → · Contrast checker → · Palette generator →

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