#668F2D#668F2D

#668F2D is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 59.9% C 0.134 H 129.3°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#668F2D
RGBrgb(102, 143, 45)
HSLhsl(85, 52%, 37%)
HSVhsv(85, 69%, 56%)
CMYKcmyk(28.7%, 0%, 68.5%, 43.9%)
CIE-LABlab(54.72, -30.04, 45.72)
CIE-LCHlch(54.72, 54.71, 123.31°)
OKLaboklab(59.95% -0.0852 0.104)
OKLCHoklch(59.95% 0.134 129.3)
XYZxyz(15.7755, 22.6588, 6.0245)
Luminance0.2266 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668F2D #562D8F
analogous
#8F872D #668F2D #358F2D
triadic
#668F2D #2D668F #8F2D66
tetradic
#668F2D #2D8F87 #562D8F #8F2D35
square
#668F2D #2D8F87 #562D8F #8F2D35
split-complementary
#668F2D #2D358F #872D8F
monochromatic
#243210 #45601E #668F2D #87BE3C #A4CF67

Accessibility & contrast

On white

3.80
#668F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#668F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668F2D
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668F2D#FFFFFF#000000##000000
##668F2D1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#96851F
Deuteranopia (green-blind)
#908235
Tritanopia (blue-blind)
#69897B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #668f2d;
/* rgb */ color: rgb(102, 143, 45);
/* oklch */ color: oklch(59.9% 0.134 129.3);
Tailwind
colors: {
  custom: {
    50: '#95b06b',
    500: '#668f2d',
    950: '#000000',
  },
}
SCSS
$custom: #668f2d;
$custom-light: #95b06b;
$custom-dark: #000000;
JSON
{
  "hex": "#668f2d",
  "rgb": {
    "r": 102,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 85.102,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59945,
    "c": 0.13444,
    "h": 129.3
  },
  "luminance": 0.22659
}

Semantic roles & 50–950 ramp

primary
#668F2D
secondary
#8562B6
accent
#4CDC88
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #668F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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