#668C2A#668C2A

#668C2A is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 59.2% C 0.133 H 128.3°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#668C2A
RGBrgb(102, 140, 42)
HSLhsl(83, 54%, 36%)
HSVhsv(83, 70%, 55%)
CMYKcmyk(27.1%, 0%, 70%, 45.1%)
CIE-LABlab(53.76, -28.84, 45.97)
CIE-LCHlch(53.76, 54.27, 122.10°)
OKLaboklab(59.16% -0.0821 0.1041)
OKLCHoklch(59.16% 0.133 128.3)
XYZxyz(15.2755, 21.7478, 5.5830)
Luminance0.2175 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668C2A #502A8C
analogous
#8C812A #668C2A #358C2A
triadic
#668C2A #2A668C #8C2A66
tetradic
#668C2A #2A8C81 #502A8C #8C2A35
square
#668C2A #2A8C81 #502A8C #8C2A35
split-complementary
#668C2A #2A358C #812A8C
monochromatic
#212E0E #445D1C #668C2A #88BB38 #A5D061

Accessibility & contrast

On white

3.93
#668C2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#668C2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668C2A
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668C2A#FFFFFF#000000##000000
##668C2A1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821B
Deuteranopia (green-blind)
#8E8032
Tritanopia (blue-blind)
#698678
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #668c2a;
/* rgb */ color: rgb(102, 140, 42);
/* oklch */ color: oklch(59.2% 0.133 128.3);
Tailwind
colors: {
  custom: {
    50: '#95ad69',
    500: '#668c2a',
    950: '#000000',
  },
}
SCSS
$custom: #668c2a;
$custom-light: #95ad69;
$custom-dark: #000000;
JSON
{
  "hex": "#668c2a",
  "rgb": {
    "r": 102,
    "g": 140,
    "b": 42
  },
  "hsl": {
    "h": 83.265,
    "s": 53.846,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59157,
    "c": 0.13261,
    "h": 128.3
  },
  "luminance": 0.21748
}

Semantic roles & 50–950 ramp

primary
#668C2A
secondary
#7F5CB5
accent
#4BDD83
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #668C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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