#668D2D#668D2D

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

Color values

HEX#668D2D
RGBrgb(102, 141, 45)
HSLhsl(84, 52%, 36%)
HSVhsv(84, 68%, 55%)
CMYKcmyk(27.7%, 0%, 68.1%, 44.7%)
CIE-LABlab(54.09, -29.09, 45.06)
CIE-LCHlch(54.09, 53.64, 122.84°)
OKLaboklab(59.44% -0.0826 0.1026)
OKLCHoklch(59.44% 0.132 128.8)
XYZxyz(15.4780, 22.0636, 5.9253)
Luminance0.2206 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668D2D #542D8D
analogous
#8D842D #668D2D #368D2D
triadic
#668D2D #2D668D #8D2D66
tetradic
#668D2D #2D8D84 #542D8D #8D2D36
square
#668D2D #2D8D84 #542D8D #8D2D36
split-complementary
#668D2D #2D368D #842D8D
monochromatic
#23300F #445F1E #668D2D #88BB3C #A4CE66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668D2D#FFFFFF#000000##000000
##668D2D1.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)
#948320
Deuteranopia (green-blind)
#8E8035
Tritanopia (blue-blind)
#698779
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #668d2d;
/* rgb */ color: rgb(102, 141, 45);
/* oklch */ color: oklch(59.4% 0.132 128.8);
Tailwind
colors: {
  custom: {
    50: '#95ae6b',
    500: '#668d2d',
    950: '#000000',
  },
}
SCSS
$custom: #668d2d;
$custom-light: #95ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#668d2d",
  "rgb": {
    "r": 102,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 84.375,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59438,
    "c": 0.13172,
    "h": 128.8
  },
  "luminance": 0.22064
}

Semantic roles & 50–950 ramp

primary
#668D2D
secondary
#8361B5
accent
#4DDB87
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #668D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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