#668E2C#668E2C

#668E2C is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.7% C 0.134 H 129.0°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#668E2C
RGBrgb(102, 142, 44)
HSLhsl(84, 53%, 36%)
HSVhsv(84, 69%, 56%)
CMYKcmyk(28.2%, 0%, 69%, 44.3%)
CIE-LABlab(54.40, -29.64, 45.80)
CIE-LCHlch(54.40, 54.56, 122.91°)
OKLaboklab(59.68% -0.0842 0.1041)
OKLCHoklch(59.68% 0.134 129)
XYZxyz(15.6071, 22.3522, 5.8745)
Luminance0.2235 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668E2C #542C8E
analogous
#8E852C #668E2C #358E2C
triadic
#668E2C #2C668E #8E2C66
tetradic
#668E2C #2C8E85 #542C8E #8E2C35
square
#668E2C #2C8E85 #542C8E #8E2C35
split-complementary
#668E2C #2C358E #852C8E
monochromatic
#23310F #445F1E #668E2C #88BD3A #A4CF65

Accessibility & contrast

On white

3.84
#668E2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#668E2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668E2C
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668E2C#FFFFFF#000000##000000
##668E2C1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95841E
Deuteranopia (green-blind)
#8F8134
Tritanopia (blue-blind)
#69887A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #668e2c;
/* rgb */ color: rgb(102, 142, 44);
/* oklch */ color: oklch(59.7% 0.134 129.0);
Tailwind
colors: {
  custom: {
    50: '#95af6b',
    500: '#668e2c',
    950: '#000000',
  },
}
SCSS
$custom: #668e2c;
$custom-light: #95af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#668e2c",
  "rgb": {
    "r": 102,
    "g": 142,
    "b": 44
  },
  "hsl": {
    "h": 84.49,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59682,
    "c": 0.13383,
    "h": 129
  },
  "luminance": 0.22353
}

Semantic roles & 50–950 ramp

primary
#668E2C
secondary
#8360B6
accent
#4CDC87
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #668E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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