#668C2F#668C2F

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

Color values

HEX#668C2F
RGBrgb(102, 140, 47)
HSLhsl(85, 50%, 37%)
HSVhsv(85, 66%, 55%)
CMYKcmyk(27.1%, 0%, 66.4%, 45.1%)
CIE-LABlab(53.80, -28.45, 43.88)
CIE-LCHlch(53.80, 52.30, 122.96°)
OKLaboklab(59.2% -0.0806 0.1004)
OKLCHoklch(59.2% 0.129 128.8)
XYZxyz(15.3706, 21.7858, 6.0840)
Luminance0.2179 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668C2F #552F8C
analogous
#8C842F #668C2F #388C2F
triadic
#668C2F #2F668C #8C2F66
tetradic
#668C2F #2F8C84 #552F8C #8C2F38
square
#668C2F #2F8C84 #552F8C #8C2F38
split-complementary
#668C2F #2F388C #842F8C
monochromatic
#233010 #455E20 #668C2F #87BA3E #A4CD69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668C2F#FFFFFF#000000##000000
##668C2F1.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)
#938223
Deuteranopia (green-blind)
#8D8036
Tritanopia (blue-blind)
#698679
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #668c2f;
/* rgb */ color: rgb(102, 140, 47);
/* oklch */ color: oklch(59.2% 0.129 128.8);
Tailwind
colors: {
  custom: {
    50: '#95ae6c',
    500: '#668c2f',
    950: '#000000',
  },
}
SCSS
$custom: #668c2f;
$custom-light: #95ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#668c2f",
  "rgb": {
    "r": 102,
    "g": 140,
    "b": 47
  },
  "hsl": {
    "h": 84.516,
    "s": 49.733,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59203,
    "c": 0.12879,
    "h": 128.8
  },
  "luminance": 0.21786
}

Semantic roles & 50–950 ramp

primary
#668C2F
secondary
#8463B4
accent
#4FD987
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #668C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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