#668D37#668D37

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

Color values

HEX#668D37
RGBrgb(102, 141, 55)
HSLhsl(87, 44%, 38%)
HSVhsv(87, 61%, 55%)
CMYKcmyk(27.7%, 0%, 61%, 44.7%)
CIE-LABlab(54.19, -28.22, 40.65)
CIE-LCHlch(54.19, 49.49, 124.77°)
OKLaboklab(59.54% -0.0793 0.0946)
OKLCHoklch(59.54% 0.123 130)
XYZxyz(15.6938, 22.1500, 7.0622)
Luminance0.2215 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668D37 #5E378D
analogous
#8D8937 #668D37 #3B8D37
triadic
#668D37 #37668D #8D3766
tetradic
#668D37 #378D89 #5E378D #8D373B
square
#668D37 #378D89 #5E378D #8D373B
split-complementary
#668D37 #373B8D #89378D
monochromatic
#263515 #466126 #668D37 #86B849 #A3C975

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668D37#FFFFFF#000000##000000
##668D371.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)
#93832E
Deuteranopia (green-blind)
#8E813D
Tritanopia (blue-blind)
#68877B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #668d37;
/* rgb */ color: rgb(102, 141, 55);
/* oklch */ color: oklch(59.5% 0.123 130.0);
Tailwind
colors: {
  custom: {
    50: '#94ae71',
    500: '#668d37',
    950: '#000000',
  },
}
SCSS
$custom: #668d37;
$custom-light: #94ae71;
$custom-dark: #000000;
JSON
{
  "hex": "#668d37",
  "rgb": {
    "r": 102,
    "g": 141,
    "b": 55
  },
  "hsl": {
    "h": 87.209,
    "s": 43.878,
    "l": 38.431
  },
  "oklch": {
    "l": 0.59541,
    "c": 0.1234,
    "h": 130
  },
  "luminance": 0.2215
}

Semantic roles & 50–950 ramp

primary
#668D37
secondary
#8D6EB2
accent
#54D48E
background
#F9FAF7
surface
#F2F4ED
border
#CCCEC8
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #668D37

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

Preview Lab → · Contrast checker → · Palette generator →

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