#668D2C#668D2C

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

Color values

HEX#668D2C
RGBrgb(102, 141, 44)
HSLhsl(84, 52%, 36%)
HSVhsv(84, 69%, 55%)
CMYKcmyk(27.7%, 0%, 68.8%, 44.7%)
CIE-LABlab(54.09, -29.17, 45.48)
CIE-LCHlch(54.09, 54.03, 122.67°)
OKLaboklab(59.43% -0.0829 0.1034)
OKLCHoklch(59.43% 0.132 128.7)
XYZxyz(15.4589, 22.0560, 5.8251)
Luminance0.2206 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668D2C #532C8D
analogous
#8D842C #668D2C #368D2C
triadic
#668D2C #2C668D #8D2C66
tetradic
#668D2C #2C8D84 #532C8D #8D2C36
square
#668D2C #2C8D84 #532C8D #8D2C36
split-complementary
#668D2C #2C368D #842C8D
monochromatic
#23300F #445E1D #668D2C #88BC3B #A4CF65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668D2C#FFFFFF#000000##000000
##668D2C1.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)
#94831E
Deuteranopia (green-blind)
#8E8034
Tritanopia (blue-blind)
#698779
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #668d2c;
/* rgb */ color: rgb(102, 141, 44);
/* oklch */ color: oklch(59.4% 0.132 128.7);
Tailwind
colors: {
  custom: {
    50: '#95ae6b',
    500: '#668d2c',
    950: '#000000',
  },
}
SCSS
$custom: #668d2c;
$custom-light: #95ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#668d2c",
  "rgb": {
    "r": 102,
    "g": 141,
    "b": 44
  },
  "hsl": {
    "h": 84.124,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59428,
    "c": 0.13248,
    "h": 128.7
  },
  "luminance": 0.22056
}

Semantic roles & 50–950 ramp

primary
#668D2C
secondary
#8260B5
accent
#4CDC86
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #668D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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