#668C28#668C28

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

Color values

HEX#668C28
RGBrgb(102, 140, 40)
HSLhsl(83, 56%, 35%)
HSVhsv(83, 71%, 55%)
CMYKcmyk(27.1%, 0%, 71.4%, 45.1%)
CIE-LABlab(53.74, -28.98, 46.77)
CIE-LCHlch(53.74, 55.02, 121.78°)
OKLaboklab(59.14% -0.0827 0.1055)
OKLCHoklch(59.14% 0.134 128.1)
XYZxyz(15.2406, 21.7338, 5.3992)
Luminance0.2173 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668C28 #4E288C
analogous
#8C8028 #668C28 #348C28
triadic
#668C28 #28668C #8C2866
tetradic
#668C28 #288C80 #4E288C #8C2834
square
#668C28 #288C80 #4E288C #8C2834
split-complementary
#668C28 #28348C #80288C
monochromatic
#212D0D #435C1A #668C28 #89BC36 #A5D15E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668C28#FFFFFF#000000##000000
##668C281.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)
#938218
Deuteranopia (green-blind)
#8E8031
Tritanopia (blue-blind)
#6A8678
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #668c28;
/* rgb */ color: rgb(102, 140, 40);
/* oklch */ color: oklch(59.1% 0.134 128.1);
Tailwind
colors: {
  custom: {
    50: '#95ad68',
    500: '#668c28',
    950: '#000000',
  },
}
SCSS
$custom: #668c28;
$custom-light: #95ad68;
$custom-dark: #000000;
JSON
{
  "hex": "#668c28",
  "rgb": {
    "r": 102,
    "g": 140,
    "b": 40
  },
  "hsl": {
    "h": 82.8,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5914,
    "c": 0.13403,
    "h": 128.1
  },
  "luminance": 0.21734
}

Semantic roles & 50–950 ramp

primary
#668C28
secondary
#7D5AB6
accent
#49DF82
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668C28

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

Preview Lab → · Contrast checker → · Palette generator →

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