#668D3F#668D3F

#668D3F is a mid, moderate yellow-green. Relative luminance 0.222; OKLCH L 59.6% C 0.116 H 131.2°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#668D3F
RGBrgb(102, 141, 63)
HSLhsl(90, 38%, 40%)
HSVhsv(90, 55%, 55%)
CMYKcmyk(27.7%, 0%, 55.3%, 44.7%)
CIE-LABlab(54.27, -27.39, 36.86)
CIE-LCHlch(54.27, 45.92, 126.62°)
OKLaboklab(59.64% -0.0763 0.0872)
OKLCHoklch(59.64% 0.116 131.2)
XYZxyz(15.9014, 22.2330, 8.1553)
Luminance0.2223 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668D3F #663F8D
analogous
#8D8D3F #668D3F #3F8D3F
triadic
#668D3F #3F668D #8D3F66
tetradic
#668D3F #3F8D8D #663F8D #8D3F3F
square
#668D3F #3F8D8D #663F8D #8D3F3F
split-complementary
#668D3F #3F3F8D #8D3F8D
monochromatic
#293819 #47632C #668D3F #85B356 #A3C680

Accessibility & contrast

On white

3.86
#668D3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#668D3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668D3F
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668D3F#FFFFFF#000000##000000
##668D3F1.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938438
Deuteranopia (green-blind)
#8D8144
Tritanopia (blue-blind)
#68887C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #668d3f;
/* rgb */ color: rgb(102, 141, 63);
/* oklch */ color: oklch(59.6% 0.116 131.2);
Tailwind
colors: {
  custom: {
    50: '#94ae76',
    500: '#668d3f',
    950: '#000000',
  },
}
SCSS
$custom: #668d3f;
$custom-light: #94ae76;
$custom-dark: #000000;
JSON
{
  "hex": "#668d3f",
  "rgb": {
    "r": 102,
    "g": 141,
    "b": 63
  },
  "hsl": {
    "h": 90,
    "s": 38.235,
    "l": 40
  },
  "oklch": {
    "l": 0.5964,
    "c": 0.11588,
    "h": 131.2
  },
  "luminance": 0.22233
}

Semantic roles & 50–950 ramp

primary
#668D3F
secondary
#9477B1
accent
#5ACE94
background
#F9FAF7
surface
#F2F4ED
border
#CCCEC8
text
#0D1009
muted
#7E7F7B

Preview Lab

Preview with #668D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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