#668B26#668B26

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

Color values

HEX#668B26
RGBrgb(102, 139, 38)
HSLhsl(82, 57%, 35%)
HSVhsv(82, 73%, 55%)
CMYKcmyk(26.6%, 0%, 72.7%, 45.5%)
CIE-LABlab(53.42, -28.64, 47.23)
CIE-LCHlch(53.42, 55.24, 121.23°)
OKLaboklab(58.87% -0.0819 0.1061)
OKLCHoklch(58.87% 0.134 127.7)
XYZxyz(15.0620, 21.4296, 5.1761)
Luminance0.2143 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668B26 #4B268B
analogous
#8B7D26 #668B26 #348B26
triadic
#668B26 #26668B #8B2666
tetradic
#668B26 #268B7D #4B268B #8B2634
square
#668B26 #268B7D #4B268B #8B2634
split-complementary
#668B26 #26348B #7D268B
monochromatic
#1F2B0C #435B19 #668B26 #89BB33 #A6D25A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668B26#FFFFFF#000000##000000
##668B261.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)
#928115
Deuteranopia (green-blind)
#8D7F2F
Tritanopia (blue-blind)
#6A8577
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #668b26;
/* rgb */ color: rgb(102, 139, 38);
/* oklch */ color: oklch(58.9% 0.134 127.7);
Tailwind
colors: {
  custom: {
    50: '#95ad67',
    500: '#668b26',
    950: '#000000',
  },
}
SCSS
$custom: #668b26;
$custom-light: #95ad67;
$custom-dark: #000000;
JSON
{
  "hex": "#668b26",
  "rgb": {
    "r": 102,
    "g": 139,
    "b": 38
  },
  "hsl": {
    "h": 81.98,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5887,
    "c": 0.13409,
    "h": 127.7
  },
  "luminance": 0.2143
}

Semantic roles & 50–950 ramp

primary
#668B26
secondary
#7A56B7
accent
#47E07F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668B26

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

Preview Lab → · Contrast checker → · Palette generator →

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