#668D34#668D34

#668D34 is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.5% C 0.126 H 129.6°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#668D34
RGBrgb(102, 141, 52)
HSLhsl(86, 46%, 38%)
HSVhsv(86, 63%, 55%)
CMYKcmyk(27.7%, 0%, 63.1%, 44.7%)
CIE-LABlab(54.16, -28.50, 42.02)
CIE-LCHlch(54.16, 50.77, 124.15°)
OKLaboklab(59.51% -0.0803 0.0971)
OKLCHoklch(59.51% 0.126 129.6)
XYZxyz(15.6241, 22.1221, 6.6950)
Luminance0.2212 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668D34 #5B348D
analogous
#8D8734 #668D34 #398D34
triadic
#668D34 #34668D #8D3466
tetradic
#668D34 #348D87 #5B348D #8D3439
square
#668D34 #348D87 #5B348D #8D3439
split-complementary
#668D34 #34398D #87348D
monochromatic
#253413 #466024 #668D34 #86BA44 #A3CB71

Accessibility & contrast

On white

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

On black

5.42
#668D34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668D34
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668D34#FFFFFF#000000##000000
##668D341.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#93832A
Deuteranopia (green-blind)
#8E813B
Tritanopia (blue-blind)
#69877A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #668d34;
/* rgb */ color: rgb(102, 141, 52);
/* oklch */ color: oklch(59.5% 0.126 129.6);
Tailwind
colors: {
  custom: {
    50: '#94ae6f',
    500: '#668d34',
    950: '#000000',
  },
}
SCSS
$custom: #668d34;
$custom-light: #94ae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#668d34",
  "rgb": {
    "r": 102,
    "g": 141,
    "b": 52
  },
  "hsl": {
    "h": 86.292,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59508,
    "c": 0.12603,
    "h": 129.6
  },
  "luminance": 0.22122
}

Semantic roles & 50–950 ramp

primary
#668D34
secondary
#8A6AB3
accent
#52D68C
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #668D34

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

Preview Lab → · Contrast checker → · Palette generator →

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