#668C1D#668C1D

#668C1D is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 59.1% C 0.141 H 127.3°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#668C1D
RGBrgb(102, 140, 29)
HSLhsl(81, 66%, 33%)
HSVhsv(81, 79%, 55%)
CMYKcmyk(27.1%, 0%, 79.3%, 45.1%)
CIE-LABlab(53.67, -29.64, 50.72)
CIE-LCHlch(53.67, 58.75, 120.30°)
OKLaboklab(59.06% -0.0854 0.112)
OKLCHoklch(59.06% 0.141 127.3)
XYZxyz(15.0794, 21.6693, 4.5503)
Luminance0.2167 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668C1D #431D8C
analogous
#8C7A1D #668C1D #2E8C1D
triadic
#668C1D #1D668C #8C1D66
tetradic
#668C1D #1D8C7A #431D8C #8C1D2E
square
#668C1D #1D8C7A #431D8C #8C1D2E
split-complementary
#668C1D #1D2E8C #7A1D8C
monochromatic
#1C2708 #415912 #668C1D #8BBF28 #A8D94A

Accessibility & contrast

On white

3.94
#668C1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#668C1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668C1D
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668C1D#FFFFFF#000000##000000
##668C1D1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#8E8028
Tritanopia (blue-blind)
#6A8577
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #668c1d;
/* rgb */ color: rgb(102, 140, 29);
/* oklch */ color: oklch(59.1% 0.141 127.3);
Tailwind
colors: {
  custom: {
    50: '#95ad63',
    500: '#668c1d',
    950: '#000000',
  },
}
SCSS
$custom: #668c1d;
$custom-light: #95ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#668c1d",
  "rgb": {
    "r": 102,
    "g": 140,
    "b": 29
  },
  "hsl": {
    "h": 80.541,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.59062,
    "c": 0.14084,
    "h": 127.3
  },
  "luminance": 0.2167
}

Semantic roles & 50–950 ramp

primary
#668C1D
secondary
#7049BC
accent
#3FE979
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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