#668D2A#668D2A

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

Color values

HEX#668D2A
RGBrgb(102, 141, 42)
HSLhsl(84, 54%, 36%)
HSVhsv(84, 70%, 55%)
CMYKcmyk(27.7%, 0%, 70.2%, 44.7%)
CIE-LABlab(54.07, -29.32, 46.29)
CIE-LCHlch(54.07, 54.80, 122.34°)
OKLaboklab(59.41% -0.0834 0.1048)
OKLCHoklch(59.41% 0.134 128.5)
XYZxyz(15.4223, 22.0413, 5.6319)
Luminance0.2204 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668D2A #512A8D
analogous
#8D822A #668D2A #358D2A
triadic
#668D2A #2A668D #8D2A66
tetradic
#668D2A #2A8D82 #512A8D #8D2A35
square
#668D2A #2A8D82 #512A8D #8D2A35
split-complementary
#668D2A #2A358D #822A8D
monochromatic
#222F0E #445E1C #668D2A #88BC38 #A4D061

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668D2A#FFFFFF#000000##000000
##668D2A1.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)
#94831B
Deuteranopia (green-blind)
#8F8032
Tritanopia (blue-blind)
#698779
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #668d2a;
/* rgb */ color: rgb(102, 141, 42);
/* oklch */ color: oklch(59.4% 0.134 128.5);
Tailwind
colors: {
  custom: {
    50: '#95ae6a',
    500: '#668d2a',
    950: '#000000',
  },
}
SCSS
$custom: #668d2a;
$custom-light: #95ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#668d2a",
  "rgb": {
    "r": 102,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 83.636,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59411,
    "c": 0.13395,
    "h": 128.5
  },
  "luminance": 0.22042
}

Semantic roles & 50–950 ramp

primary
#668D2A
secondary
#805DB6
accent
#4ADD84
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #668D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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