#668E33#668E33

#668E33 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.8% C 0.128 H 129.7°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#668E33
RGBrgb(102, 142, 51)
HSLhsl(86, 47%, 38%)
HSVhsv(86, 64%, 56%)
CMYKcmyk(28.2%, 0%, 64.1%, 44.3%)
CIE-LABlab(54.46, -29.07, 42.81)
CIE-LCHlch(54.46, 51.75, 124.18°)
OKLaboklab(59.75% -0.082 0.0987)
OKLCHoklch(59.75% 0.128 129.7)
XYZxyz(15.7499, 22.4094, 6.6270)
Luminance0.2241 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668E33 #5B338E
analogous
#8E8833 #668E33 #388E33
triadic
#668E33 #33668E #8E3366
tetradic
#668E33 #338E88 #5B338E #8E3338
square
#668E33 #338E88 #5B338E #8E3338
split-complementary
#668E33 #33388E #88338E
monochromatic
#253413 #466123 #668E33 #86BB43 #A3CC70

Accessibility & contrast

On white

3.83
#668E33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#668E33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668E33
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668E33#FFFFFF#000000##000000
##668E331.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948428
Deuteranopia (green-blind)
#8F813A
Tritanopia (blue-blind)
#69887B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #668e33;
/* rgb */ color: rgb(102, 142, 51);
/* oklch */ color: oklch(59.8% 0.128 129.7);
Tailwind
colors: {
  custom: {
    50: '#94af6f',
    500: '#668e33',
    950: '#000000',
  },
}
SCSS
$custom: #668e33;
$custom-light: #94af6f;
$custom-dark: #000000;
JSON
{
  "hex": "#668e33",
  "rgb": {
    "r": 102,
    "g": 142,
    "b": 51
  },
  "hsl": {
    "h": 86.374,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.5975,
    "c": 0.12829,
    "h": 129.7
  },
  "luminance": 0.2241
}

Semantic roles & 50–950 ramp

primary
#668E33
secondary
#8A69B4
accent
#51D78C
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #668E33

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

Preview Lab → · Contrast checker → · Palette generator →

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