#668D33#668D33

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

Color values

HEX#668D33
RGBrgb(102, 141, 51)
HSLhsl(86, 47%, 38%)
HSVhsv(86, 64%, 55%)
CMYKcmyk(27.7%, 0%, 63.8%, 44.7%)
CIE-LABlab(54.15, -28.59, 42.47)
CIE-LCHlch(54.15, 51.19, 123.95°)
OKLaboklab(59.5% -0.0806 0.098)
OKLCHoklch(59.5% 0.127 129.5)
XYZxyz(15.6018, 22.1132, 6.5776)
Luminance0.2211 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668D33 #5A338D
analogous
#8D8733 #668D33 #398D33
triadic
#668D33 #33668D #8D3366
tetradic
#668D33 #338D87 #5A338D #8D3339
square
#668D33 #338D87 #5A338D #8D3339
split-complementary
#668D33 #33398D #87338D
monochromatic
#253312 #456023 #668D33 #87BA43 #A3CB6F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668D33#FFFFFF#000000##000000
##668D331.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)
#938328
Deuteranopia (green-blind)
#8E813A
Tritanopia (blue-blind)
#69877A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #668d33;
/* rgb */ color: rgb(102, 141, 51);
/* oklch */ color: oklch(59.5% 0.127 129.5);
Tailwind
colors: {
  custom: {
    50: '#94ae6f',
    500: '#668d33',
    950: '#000000',
  },
}
SCSS
$custom: #668d33;
$custom-light: #94ae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#668d33",
  "rgb": {
    "r": 102,
    "g": 141,
    "b": 51
  },
  "hsl": {
    "h": 86,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59497,
    "c": 0.12688,
    "h": 129.5
  },
  "luminance": 0.22114
}

Semantic roles & 50–950 ramp

primary
#668D33
secondary
#8969B3
accent
#51D78B
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #668D33

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

Preview Lab → · Contrast checker → · Palette generator →

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