#668D28#668D28

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

Color values

HEX#668D28
RGBrgb(102, 141, 40)
HSLhsl(83, 56%, 35%)
HSVhsv(83, 72%, 55%)
CMYKcmyk(27.7%, 0%, 71.6%, 44.7%)
CIE-LABlab(54.06, -29.46, 47.09)
CIE-LCHlch(54.06, 55.54, 122.03°)
OKLaboklab(59.39% -0.084 0.1062)
OKLCHoklch(59.39% 0.135 128.4)
XYZxyz(15.3873, 22.0274, 5.4481)
Luminance0.2203 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668D28 #4F288D
analogous
#8D8128 #668D28 #348D28
triadic
#668D28 #28668D #8D2866
tetradic
#668D28 #288D81 #4F288D #8D2834
square
#668D28 #288D81 #4F288D #8D2834
split-complementary
#668D28 #28348D #81288D
monochromatic
#212E0D #445D1A #668D28 #88BD36 #A5D15E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668D28#FFFFFF#000000##000000
##668D281.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)
#948318
Deuteranopia (green-blind)
#8F8031
Tritanopia (blue-blind)
#698779
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #668d28;
/* rgb */ color: rgb(102, 141, 40);
/* oklch */ color: oklch(59.4% 0.135 128.4);
Tailwind
colors: {
  custom: {
    50: '#95ae68',
    500: '#668d28',
    950: '#000000',
  },
}
SCSS
$custom: #668d28;
$custom-light: #95ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#668d28",
  "rgb": {
    "r": 102,
    "g": 141,
    "b": 40
  },
  "hsl": {
    "h": 83.168,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59394,
    "c": 0.13537,
    "h": 128.4
  },
  "luminance": 0.22028
}

Semantic roles & 50–950 ramp

primary
#668D28
secondary
#7E5AB7
accent
#49DF83
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668D28

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

Preview Lab → · Contrast checker → · Palette generator →

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