#668C2E#668C2E

#668C2E is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.2% C 0.130 H 128.7°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#668C2E
RGBrgb(102, 140, 46)
HSLhsl(84, 51%, 36%)
HSVhsv(84, 67%, 55%)
CMYKcmyk(27.1%, 0%, 67.1%, 45.1%)
CIE-LABlab(53.79, -28.53, 44.31)
CIE-LCHlch(53.79, 52.70, 122.78°)
OKLaboklab(59.19% -0.0809 0.1012)
OKLCHoklch(59.19% 0.13 128.7)
XYZxyz(15.3507, 21.7779, 5.9790)
Luminance0.2178 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668C2E #542E8C
analogous
#8C832E #668C2E #378C2E
triadic
#668C2E #2E668C #8C2E66
tetradic
#668C2E #2E8C83 #542E8C #8C2E37
square
#668C2E #2E8C83 #542E8C #8C2E37
split-complementary
#668C2E #2E378C #832E8C
monochromatic
#233010 #445E1F #668C2E #88BA3D #A4CD67

Accessibility & contrast

On white

3.92
#668C2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#668C2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668C2E
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668C2E#FFFFFF#000000##000000
##668C2E1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938222
Deuteranopia (green-blind)
#8D8035
Tritanopia (blue-blind)
#698679
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #668c2e;
/* rgb */ color: rgb(102, 140, 46);
/* oklch */ color: oklch(59.2% 0.130 128.7);
Tailwind
colors: {
  custom: {
    50: '#95ad6c',
    500: '#668c2e',
    950: '#000000',
  },
}
SCSS
$custom: #668c2e;
$custom-light: #95ad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#668c2e",
  "rgb": {
    "r": 102,
    "g": 140,
    "b": 46
  },
  "hsl": {
    "h": 84.255,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59194,
    "c": 0.12957,
    "h": 128.7
  },
  "luminance": 0.21778
}

Semantic roles & 50–950 ramp

primary
#668C2E
secondary
#8362B4
accent
#4EDA86
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #668C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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