#668C38#668C38

#668C38 is a mid, vivid yellow-green. Relative luminance 0.219; OKLCH L 59.3% C 0.121 H 129.8°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#668C38
RGBrgb(102, 140, 56)
HSLhsl(87, 43%, 38%)
HSVhsv(87, 60%, 55%)
CMYKcmyk(27.1%, 0%, 60%, 45.1%)
CIE-LABlab(53.88, -27.64, 39.84)
CIE-LCHlch(53.88, 48.49, 124.75°)
OKLaboklab(59.3% -0.0776 0.093)
OKLCHoklch(59.3% 0.121 129.8)
XYZxyz(15.5713, 21.8661, 7.1408)
Luminance0.2187 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668C38 #5E388C
analogous
#8C8838 #668C38 #3C8C38
triadic
#668C38 #38668C #8C3866
tetradic
#668C38 #388C88 #5E388C #8C383C
square
#668C38 #388C88 #5E388C #8C383C
split-complementary
#668C38 #383C8C #88388C
monochromatic
#263515 #466027 #668C38 #86B74A #A3C876

Accessibility & contrast

On white

3.91
#668C38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#668C38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668C38
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668C38#FFFFFF#000000##000000
##668C381.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#92832F
Deuteranopia (green-blind)
#8D803E
Tritanopia (blue-blind)
#68867A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #668c38;
/* rgb */ color: rgb(102, 140, 56);
/* oklch */ color: oklch(59.3% 0.121 129.8);
Tailwind
colors: {
  custom: {
    50: '#94ae72',
    500: '#668c38',
    950: '#000000',
  },
}
SCSS
$custom: #668c38;
$custom-light: #94ae72;
$custom-dark: #000000;
JSON
{
  "hex": "#668c38",
  "rgb": {
    "r": 102,
    "g": 140,
    "b": 56
  },
  "hsl": {
    "h": 87.143,
    "s": 42.857,
    "l": 38.431
  },
  "oklch": {
    "l": 0.593,
    "c": 0.12107,
    "h": 129.8
  },
  "luminance": 0.21866
}

Semantic roles & 50–950 ramp

primary
#668C38
secondary
#8D6FB1
accent
#55D38E
background
#F9FAF7
surface
#F2F4ED
border
#CCCEC8
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #668C38

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

Preview Lab → · Contrast checker → · Palette generator →

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