#668B27#668B27

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

Color values

HEX#668B27
RGBrgb(102, 139, 39)
HSLhsl(82, 56%, 35%)
HSVhsv(82, 72%, 55%)
CMYKcmyk(26.6%, 0%, 71.9%, 45.5%)
CIE-LABlab(53.42, -28.57, 46.85)
CIE-LCHlch(53.42, 54.87, 121.38°)
OKLaboklab(58.88% -0.0817 0.1055)
OKLCHoklch(58.88% 0.133 127.7)
XYZxyz(15.0783, 21.4362, 5.2622)
Luminance0.2144 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668B27 #4C278B
analogous
#8B7E27 #668B27 #348B27
triadic
#668B27 #27668B #8B2766
tetradic
#668B27 #278B7E #4C278B #8B2734
square
#668B27 #278B7E #4C278B #8B2734
split-complementary
#668B27 #27348B #7E278B
monochromatic
#202B0C #435B1A #668B27 #89BB34 #A6D15B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668B27#FFFFFF#000000##000000
##668B271.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)
#928117
Deuteranopia (green-blind)
#8D7F30
Tritanopia (blue-blind)
#6A8577
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #668b27;
/* rgb */ color: rgb(102, 139, 39);
/* oklch */ color: oklch(58.9% 0.133 127.7);
Tailwind
colors: {
  custom: {
    50: '#95ad68',
    500: '#668b27',
    950: '#000000',
  },
}
SCSS
$custom: #668b27;
$custom-light: #95ad68;
$custom-dark: #000000;
JSON
{
  "hex": "#668b27",
  "rgb": {
    "r": 102,
    "g": 139,
    "b": 39
  },
  "hsl": {
    "h": 82.2,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58878,
    "c": 0.1334,
    "h": 127.7
  },
  "luminance": 0.21437
}

Semantic roles & 50–950 ramp

primary
#668B27
secondary
#7B58B6
accent
#48DF80
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668B27

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

Preview Lab → · Contrast checker → · Palette generator →

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