#668C27#668C27

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

Color values

HEX#668C27
RGBrgb(102, 140, 39)
HSLhsl(83, 56%, 35%)
HSVhsv(83, 72%, 55%)
CMYKcmyk(27.1%, 0%, 72.1%, 45.1%)
CIE-LABlab(53.74, -29.05, 47.16)
CIE-LCHlch(53.74, 55.39, 121.63°)
OKLaboklab(59.13% -0.083 0.1062)
OKLCHoklch(59.13% 0.135 128)
XYZxyz(15.2238, 21.7271, 5.3107)
Luminance0.2173 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668C27 #4D278C
analogous
#8C7F27 #668C27 #348C27
triadic
#668C27 #27668C #8C2766
tetradic
#668C27 #278C7F #4D278C #8C2734
square
#668C27 #278C7F #4D278C #8C2734
split-complementary
#668C27 #27348C #7F278C
monochromatic
#202C0C #435C1A #668C27 #89BC34 #A5D25C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668C27#FFFFFF#000000##000000
##668C271.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)
#938216
Deuteranopia (green-blind)
#8E8030
Tritanopia (blue-blind)
#6A8678
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #668c27;
/* rgb */ color: rgb(102, 140, 39);
/* oklch */ color: oklch(59.1% 0.135 128.0);
Tailwind
colors: {
  custom: {
    50: '#95ad68',
    500: '#668c27',
    950: '#000000',
  },
}
SCSS
$custom: #668c27;
$custom-light: #95ad68;
$custom-dark: #000000;
JSON
{
  "hex": "#668c27",
  "rgb": {
    "r": 102,
    "g": 140,
    "b": 39
  },
  "hsl": {
    "h": 82.574,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59132,
    "c": 0.13473,
    "h": 128
  },
  "luminance": 0.21727
}

Semantic roles & 50–950 ramp

primary
#668C27
secondary
#7C58B7
accent
#48E081
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668C27

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

Preview Lab → · Contrast checker → · Palette generator →

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