#668E35#668E35

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

Color values

HEX#668E35
RGBrgb(102, 142, 53)
HSLhsl(87, 46%, 38%)
HSVhsv(87, 63%, 56%)
CMYKcmyk(28.2%, 0%, 62.7%, 44.3%)
CIE-LABlab(54.48, -28.89, 41.91)
CIE-LCHlch(54.48, 50.91, 124.58°)
OKLaboklab(59.77% -0.0813 0.097)
OKLCHoklch(59.77% 0.127 130)
XYZxyz(15.7950, 22.4274, 6.8642)
Luminance0.2243 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668E35 #5D358E
analogous
#8E8935 #668E35 #3A8E35
triadic
#668E35 #35668E #8E3566
tetradic
#668E35 #358E89 #5D358E #8E353A
square
#668E35 #358E89 #5D358E #8E353A
split-complementary
#668E35 #353A8E #89358E
monochromatic
#263514 #466124 #668E35 #86BA46 #A3CB73

Accessibility & contrast

On white

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

On black

5.49
#668E35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668E35
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668E35#FFFFFF#000000##000000
##668E351.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#94842B
Deuteranopia (green-blind)
#8F813C
Tritanopia (blue-blind)
#68887B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #668e35;
/* rgb */ color: rgb(102, 142, 53);
/* oklch */ color: oklch(59.8% 0.127 130.0);
Tailwind
colors: {
  custom: {
    50: '#94af70',
    500: '#668e35',
    950: '#000000',
  },
}
SCSS
$custom: #668e35;
$custom-light: #94af70;
$custom-dark: #000000;
JSON
{
  "hex": "#668e35",
  "rgb": {
    "r": 102,
    "g": 142,
    "b": 53
  },
  "hsl": {
    "h": 86.966,
    "s": 45.641,
    "l": 38.235
  },
  "oklch": {
    "l": 0.59771,
    "c": 0.12658,
    "h": 130
  },
  "luminance": 0.22428
}

Semantic roles & 50–950 ramp

primary
#668E35
secondary
#8C6CB3
accent
#52D58D
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #668E35

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

Preview Lab → · Contrast checker → · Palette generator →

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