#668D2E#668D2E

#668D2E is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.4% C 0.131 H 128.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#668D2E
RGBrgb(102, 141, 46)
HSLhsl(85, 51%, 37%)
HSVhsv(85, 67%, 55%)
CMYKcmyk(27.7%, 0%, 67.4%, 44.7%)
CIE-LABlab(54.10, -29.01, 44.64)
CIE-LCHlch(54.10, 53.24, 123.02°)
OKLaboklab(59.45% -0.0822 0.1019)
OKLCHoklch(59.45% 0.131 128.9)
XYZxyz(15.4975, 22.0714, 6.0279)
Luminance0.2207 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668D2E #552E8D
analogous
#8D852E #668D2E #368D2E
triadic
#668D2E #2E668D #8D2E66
tetradic
#668D2E #2E8D85 #552E8D #8D2E36
square
#668D2E #2E8D85 #552E8D #8D2E36
split-complementary
#668D2E #2E368D #852E8D
monochromatic
#233110 #455F1F #668D2E #87BB3D #A4CE68

Accessibility & contrast

On white

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

On black

5.41
#668D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668D2E
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668D2E#FFFFFF#000000##000000
##668D2E1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #668d2e;
/* rgb */ color: rgb(102, 141, 46);
/* oklch */ color: oklch(59.4% 0.131 128.9);
Tailwind
colors: {
  custom: {
    50: '#95ae6c',
    500: '#668d2e',
    950: '#000000',
  },
}
SCSS
$custom: #668d2e;
$custom-light: #95ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#668d2e",
  "rgb": {
    "r": 102,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 84.632,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59447,
    "c": 0.13095,
    "h": 128.9
  },
  "luminance": 0.22072
}

Semantic roles & 50–950 ramp

primary
#668D2E
secondary
#8462B5
accent
#4EDA87
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #668D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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