#668B28#668B28

#668B28 is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.9% C 0.133 H 127.8°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#668B28
RGBrgb(102, 139, 40)
HSLhsl(82, 55%, 35%)
HSVhsv(82, 71%, 55%)
CMYKcmyk(26.6%, 0%, 71.2%, 45.5%)
CIE-LABlab(53.43, -28.50, 46.45)
CIE-LCHlch(53.43, 54.50, 121.53°)
OKLaboklab(58.89% -0.0814 0.1048)
OKLCHoklch(58.89% 0.133 127.8)
XYZxyz(15.0951, 21.4429, 5.3507)
Luminance0.2144 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668B28 #4D288B
analogous
#8B7E28 #668B28 #358B28
triadic
#668B28 #28668B #8B2866
tetradic
#668B28 #288B7E #4D288B #8B2835
square
#668B28 #288B7E #4D288B #8B2835
split-complementary
#668B28 #28358B #7E288B
monochromatic
#202C0D #435B1A #668B28 #89BB36 #A5D05D

Accessibility & contrast

On white

3.97
#668B28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#668B28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668B28
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668B28#FFFFFF#000000##000000
##668B281.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928118
Deuteranopia (green-blind)
#8D7F30
Tritanopia (blue-blind)
#6A8577
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #668b28;
/* rgb */ color: rgb(102, 139, 40);
/* oklch */ color: oklch(58.9% 0.133 127.8);
Tailwind
colors: {
  custom: {
    50: '#95ad68',
    500: '#668b28',
    950: '#000000',
  },
}
SCSS
$custom: #668b28;
$custom-light: #95ad68;
$custom-dark: #000000;
JSON
{
  "hex": "#668b28",
  "rgb": {
    "r": 102,
    "g": 139,
    "b": 40
  },
  "hsl": {
    "h": 82.424,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58887,
    "c": 0.1327,
    "h": 127.8
  },
  "luminance": 0.21443
}

Semantic roles & 50–950 ramp

primary
#668B28
secondary
#7C59B6
accent
#49DF81
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668B28

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

Preview Lab → · Contrast checker → · Palette generator →

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