#668A27#668A27

#668A27 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.6% C 0.132 H 127.5°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#668A27
RGBrgb(102, 138, 39)
HSLhsl(82, 56%, 35%)
HSVhsv(82, 72%, 54%)
CMYKcmyk(26.1%, 0%, 71.7%, 45.9%)
CIE-LABlab(53.11, -28.09, 46.53)
CIE-LCHlch(53.11, 54.35, 121.12°)
OKLaboklab(58.63% -0.0803 0.1048)
OKLCHoklch(58.63% 0.132 127.5)
XYZxyz(14.9342, 21.1479, 5.2142)
Luminance0.2115 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668A27 #4B278A
analogous
#8A7C27 #668A27 #358A27
triadic
#668A27 #27668A #8A2766
tetradic
#668A27 #278A7C #4B278A #8A2735
square
#668A27 #278A7C #4B278A #8A2735
split-complementary
#668A27 #27358A #7C278A
monochromatic
#1F2B0C #435A1A #668A27 #89BA34 #A6D15B

Accessibility & contrast

On white

4.02
#668A27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#668A27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668A27
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668A27#FFFFFF#000000##000000
##668A271.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918017
Deuteranopia (green-blind)
#8C7E30
Tritanopia (blue-blind)
#6A8476
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #668a27;
/* rgb */ color: rgb(102, 138, 39);
/* oklch */ color: oklch(58.6% 0.132 127.5);
Tailwind
colors: {
  custom: {
    50: '#95ac68',
    500: '#668a27',
    950: '#000000',
  },
}
SCSS
$custom: #668a27;
$custom-light: #95ac68;
$custom-dark: #000000;
JSON
{
  "hex": "#668a27",
  "rgb": {
    "r": 102,
    "g": 138,
    "b": 39
  },
  "hsl": {
    "h": 81.818,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58625,
    "c": 0.13207,
    "h": 127.5
  },
  "luminance": 0.21148
}

Semantic roles & 50–950 ramp

primary
#668A27
secondary
#7A57B6
accent
#49DF7F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668A27

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

Preview Lab → · Contrast checker → · Palette generator →

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