#668C2D#668C2D

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

Color values

HEX#668C2D
RGBrgb(102, 140, 45)
HSLhsl(84, 51%, 36%)
HSVhsv(84, 68%, 55%)
CMYKcmyk(27.1%, 0%, 67.9%, 45.1%)
CIE-LABlab(53.78, -28.61, 44.73)
CIE-LCHlch(53.78, 53.10, 122.60°)
OKLaboklab(59.18% -0.0812 0.1019)
OKLCHoklch(59.18% 0.13 128.6)
XYZxyz(15.3312, 21.7701, 5.8764)
Luminance0.2177 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668C2D #532D8C
analogous
#8C832D #668C2D #378C2D
triadic
#668C2D #2D668C #8C2D66
tetradic
#668C2D #2D8C83 #532D8C #8C2D37
square
#668C2D #2D8C83 #532D8C #8C2D37
split-complementary
#668C2D #2D378C #832D8C
monochromatic
#232F0F #445E1E #668C2D #88BA3C #A4CE66

Accessibility & contrast

On white

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

On black

5.35
#668C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668C2D
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668C2D#FFFFFF#000000##000000
##668C2D1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #668c2d;
/* rgb */ color: rgb(102, 140, 45);
/* oklch */ color: oklch(59.2% 0.130 128.6);
Tailwind
colors: {
  custom: {
    50: '#95ad6b',
    500: '#668c2d',
    950: '#000000',
  },
}
SCSS
$custom: #668c2d;
$custom-light: #95ad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#668c2d",
  "rgb": {
    "r": 102,
    "g": 140,
    "b": 45
  },
  "hsl": {
    "h": 84,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59184,
    "c": 0.13035,
    "h": 128.6
  },
  "luminance": 0.2177
}

Semantic roles & 50–950 ramp

primary
#668C2D
secondary
#8260B4
accent
#4DDB86
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #668C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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