#668E2D#668E2D

#668E2D is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.7% C 0.133 H 129.1°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#668E2D
RGBrgb(102, 142, 45)
HSLhsl(85, 52%, 37%)
HSVhsv(85, 68%, 56%)
CMYKcmyk(28.2%, 0%, 68.3%, 44.3%)
CIE-LABlab(54.41, -29.57, 45.39)
CIE-LCHlch(54.41, 54.17, 123.08°)
OKLaboklab(59.69% -0.0839 0.1033)
OKLCHoklch(59.69% 0.133 129.1)
XYZxyz(15.6261, 22.3599, 5.9747)
Luminance0.2236 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668E2D #552D8E
analogous
#8E862D #668E2D #368E2D
triadic
#668E2D #2D668E #8E2D66
tetradic
#668E2D #2D8E86 #552D8E #8E2D36
square
#668E2D #2D8E86 #552D8E #8E2D36
split-complementary
#668E2D #2D368E #862D8E
monochromatic
#233110 #45601E #668E2D #87BC3C #A4CF67

Accessibility & contrast

On white

3.84
#668E2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#668E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668E2D
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668E2D#FFFFFF#000000##000000
##668E2D1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958420
Deuteranopia (green-blind)
#8F8135
Tritanopia (blue-blind)
#69887A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #668e2d;
/* rgb */ color: rgb(102, 142, 45);
/* oklch */ color: oklch(59.7% 0.133 129.1);
Tailwind
colors: {
  custom: {
    50: '#95af6b',
    500: '#668e2d',
    950: '#000000',
  },
}
SCSS
$custom: #668e2d;
$custom-light: #95af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#668e2d",
  "rgb": {
    "r": 102,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 84.742,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59691,
    "c": 0.13308,
    "h": 129.1
  },
  "luminance": 0.2236
}

Semantic roles & 50–950 ramp

primary
#668E2D
secondary
#8461B5
accent
#4CDB87
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #668E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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