#668C2C#668C2C

#668C2C is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.2% C 0.131 H 128.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#668C2C
RGBrgb(102, 140, 44)
HSLhsl(84, 52%, 36%)
HSVhsv(84, 69%, 55%)
CMYKcmyk(27.1%, 0%, 68.6%, 45.1%)
CIE-LABlab(53.77, -28.69, 45.15)
CIE-LCHlch(53.77, 53.49, 122.43°)
OKLaboklab(59.18% -0.0815 0.1027)
OKLCHoklch(59.18% 0.131 128.5)
XYZxyz(15.3122, 21.7624, 5.7762)
Luminance0.2176 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668C2C #522C8C
analogous
#8C822C #668C2C #368C2C
triadic
#668C2C #2C668C #8C2C66
tetradic
#668C2C #2C8C82 #522C8C #8C2C36
square
#668C2C #2C8C82 #522C8C #8C2C36
split-complementary
#668C2C #2C368C #822C8C
monochromatic
#222F0F #445D1D #668C2C #88BB3B #A4CE64

Accessibility & contrast

On white

3.92
#668C2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##668C2C#FFFFFF#000000##000000
##668C2C1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821F
Deuteranopia (green-blind)
#8E8034
Tritanopia (blue-blind)
#698679
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #668c2c;
/* rgb */ color: rgb(102, 140, 44);
/* oklch */ color: oklch(59.2% 0.131 128.5);
Tailwind
colors: {
  custom: {
    50: '#95ad6b',
    500: '#668c2c',
    950: '#000000',
  },
}
SCSS
$custom: #668c2c;
$custom-light: #95ad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#668c2c",
  "rgb": {
    "r": 102,
    "g": 140,
    "b": 44
  },
  "hsl": {
    "h": 83.75,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59175,
    "c": 0.13112,
    "h": 128.5
  },
  "luminance": 0.21763
}

Semantic roles & 50–950 ramp

primary
#668C2C
secondary
#815FB5
accent
#4CDC85
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #668C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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