#668B2E#668B2E

#668B2E is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.9% C 0.128 H 128.4°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#668B2E
RGBrgb(102, 139, 46)
HSLhsl(84, 50%, 36%)
HSVhsv(84, 67%, 55%)
CMYKcmyk(26.6%, 0%, 66.9%, 45.5%)
CIE-LABlab(53.48, -28.05, 43.98)
CIE-LCHlch(53.48, 52.16, 122.53°)
OKLaboklab(58.94% -0.0796 0.1005)
OKLCHoklch(58.94% 0.128 128.4)
XYZxyz(15.2052, 21.4869, 5.9305)
Luminance0.2149 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668B2E #532E8B
analogous
#8B822E #668B2E #388B2E
triadic
#668B2E #2E668B #8B2E66
tetradic
#668B2E #2E8B82 #532E8B #8B2E38
square
#668B2E #2E8B82 #532E8B #8B2E38
split-complementary
#668B2E #2E388B #822E8B
monochromatic
#232F10 #445D1F #668B2E #88B93D #A4CD67

Accessibility & contrast

On white

3.96
#668B2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#668B2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668B2E
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668B2E#FFFFFF#000000##000000
##668B2E1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928122
Deuteranopia (green-blind)
#8D7F35
Tritanopia (blue-blind)
#698578
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #668b2e;
/* rgb */ color: rgb(102, 139, 46);
/* oklch */ color: oklch(58.9% 0.128 128.4);
Tailwind
colors: {
  custom: {
    50: '#95ad6c',
    500: '#668b2e',
    950: '#000000',
  },
}
SCSS
$custom: #668b2e;
$custom-light: #95ad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#668b2e",
  "rgb": {
    "r": 102,
    "g": 139,
    "b": 46
  },
  "hsl": {
    "h": 83.871,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.5894,
    "c": 0.1282,
    "h": 128.4
  },
  "luminance": 0.21487
}

Semantic roles & 50–950 ramp

primary
#668B2E
secondary
#8261B3
accent
#4EDA86
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #668B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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