#668B22#668B22

#668B22 is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.8% C 0.137 H 127.4°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#668B22
RGBrgb(102, 139, 34)
HSLhsl(81, 61%, 34%)
HSVhsv(81, 76%, 55%)
CMYKcmyk(26.6%, 0%, 75.5%, 45.5%)
CIE-LABlab(53.39, -28.89, 48.72)
CIE-LCHlch(53.39, 56.64, 120.67°)
OKLaboklab(58.84% -0.083 0.1086)
OKLCHoklch(58.84% 0.137 127.4)
XYZxyz(15.0009, 21.4052, 4.8544)
Luminance0.2141 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668B22 #47228B
analogous
#8B7C22 #668B22 #328B22
triadic
#668B22 #22668B #8B2266
tetradic
#668B22 #228B7C #47228B #8B2232
square
#668B22 #228B7C #47228B #8B2232
split-complementary
#668B22 #22328B #7C228B
monochromatic
#1E290A #425A16 #668B22 #8ABC2E #A7D553

Accessibility & contrast

On white

3.98
#668B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#668B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668B22
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668B22#FFFFFF#000000##000000
##668B221.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810D
Deuteranopia (green-blind)
#8D7F2C
Tritanopia (blue-blind)
#6A8477
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #668b22;
/* rgb */ color: rgb(102, 139, 34);
/* oklch */ color: oklch(58.8% 0.137 127.4);
Tailwind
colors: {
  custom: {
    50: '#95ad65',
    500: '#668b22',
    950: '#000000',
  },
}
SCSS
$custom: #668b22;
$custom-light: #95ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#668b22",
  "rgb": {
    "r": 102,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 81.143,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58841,
    "c": 0.13668,
    "h": 127.4
  },
  "luminance": 0.21406
}

Semantic roles & 50–950 ramp

primary
#668B22
secondary
#7550B8
accent
#44E47C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668B22

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

Preview Lab → · Contrast checker → · Palette generator →

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