#668D2F#668D2F

#668D2F is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.5% C 0.130 H 129.0°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#668D2F
RGBrgb(102, 141, 47)
HSLhsl(85, 50%, 37%)
HSVhsv(85, 67%, 55%)
CMYKcmyk(27.7%, 0%, 66.7%, 44.7%)
CIE-LABlab(54.11, -28.93, 44.22)
CIE-LCHlch(54.11, 52.84, 123.20°)
OKLaboklab(59.46% -0.0819 0.1011)
OKLCHoklch(59.46% 0.13 129)
XYZxyz(15.5174, 22.0794, 6.1330)
Luminance0.2208 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668D2F #562F8D
analogous
#8D852F #668D2F #378D2F
triadic
#668D2F #2F668D #8D2F66
tetradic
#668D2F #2F8D85 #562F8D #8D2F37
square
#668D2F #2F8D85 #562F8D #8D2F37
split-complementary
#668D2F #2F378D #852F8D
monochromatic
#243110 #455F20 #668D2F #87BB3E #A4CD69

Accessibility & contrast

On white

3.88
#668D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#668D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668D2F
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668D2F#FFFFFF#000000##000000
##668D2F1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948323
Deuteranopia (green-blind)
#8E8036
Tritanopia (blue-blind)
#69877A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #668d2f;
/* rgb */ color: rgb(102, 141, 47);
/* oklch */ color: oklch(59.5% 0.130 129.0);
Tailwind
colors: {
  custom: {
    50: '#95ae6c',
    500: '#668d2f',
    950: '#000000',
  },
}
SCSS
$custom: #668d2f;
$custom-light: #95ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#668d2f",
  "rgb": {
    "r": 102,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 84.894,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59456,
    "c": 0.13016,
    "h": 129
  },
  "luminance": 0.2208
}

Semantic roles & 50–950 ramp

primary
#668D2F
secondary
#8564B4
accent
#4EDA88
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #668D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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