#668D38#668D38

#668D38 is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.6% C 0.122 H 130.1°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#668D38
RGBrgb(102, 141, 56)
HSLhsl(88, 43%, 39%)
HSVhsv(88, 60%, 55%)
CMYKcmyk(27.7%, 0%, 60.3%, 44.7%)
CIE-LABlab(54.20, -28.12, 40.19)
CIE-LCHlch(54.20, 49.05, 124.98°)
OKLaboklab(59.55% -0.0789 0.0937)
OKLCHoklch(59.55% 0.123 130.1)
XYZxyz(15.7180, 22.1597, 7.1897)
Luminance0.2216 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668D38 #5F388D
analogous
#8D8938 #668D38 #3C8D38
triadic
#668D38 #38668D #8D3866
tetradic
#668D38 #388D89 #5F388D #8D383C
square
#668D38 #388D89 #5F388D #8D383C
split-complementary
#668D38 #383C8D #89388D
monochromatic
#273515 #466127 #668D38 #86B74B #A3C977

Accessibility & contrast

On white

3.87
#668D38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#668D38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668D38
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668D38#FFFFFF#000000##000000
##668D381.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#93832F
Deuteranopia (green-blind)
#8E813E
Tritanopia (blue-blind)
#68877B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #668d38;
/* rgb */ color: rgb(102, 141, 56);
/* oklch */ color: oklch(59.6% 0.122 130.1);
Tailwind
colors: {
  custom: {
    50: '#94ae72',
    500: '#668d38',
    950: '#000000',
  },
}
SCSS
$custom: #668d38;
$custom-light: #94ae72;
$custom-dark: #000000;
JSON
{
  "hex": "#668d38",
  "rgb": {
    "r": 102,
    "g": 141,
    "b": 56
  },
  "hsl": {
    "h": 87.529,
    "s": 43.147,
    "l": 38.627
  },
  "oklch": {
    "l": 0.59553,
    "c": 0.1225,
    "h": 130.1
  },
  "luminance": 0.2216
}

Semantic roles & 50–950 ramp

primary
#668D38
secondary
#8E6FB2
accent
#55D38F
background
#F9FAF7
surface
#F2F4ED
border
#CCCEC8
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #668D38

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

Preview Lab → · Contrast checker → · Palette generator →

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