#668E2F#668E2F

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

Color values

HEX#668E2F
RGBrgb(102, 142, 47)
HSLhsl(85, 50%, 37%)
HSVhsv(85, 67%, 56%)
CMYKcmyk(28.2%, 0%, 66.9%, 44.3%)
CIE-LABlab(54.42, -29.41, 44.55)
CIE-LCHlch(54.42, 53.38, 123.43°)
OKLaboklab(59.71% -0.0832 0.1018)
OKLCHoklch(59.71% 0.132 129.3)
XYZxyz(15.6655, 22.3756, 6.1823)
Luminance0.2238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668E2F #572F8E
analogous
#8E872F #668E2F #378E2F
triadic
#668E2F #2F668E #8E2F66
tetradic
#668E2F #2F8E87 #572F8E #8E2F37
square
#668E2F #2F8E87 #572F8E #8E2F37
split-complementary
#668E2F #2F378E #872F8E
monochromatic
#243211 #456020 #668E2F #87BC3E #A4CE6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668E2F#FFFFFF#000000##000000
##668E2F1.003.845.485.48
#FFFFFF3.841.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #668e2f;
/* rgb */ color: rgb(102, 142, 47);
/* oklch */ color: oklch(59.7% 0.132 129.3);
Tailwind
colors: {
  custom: {
    50: '#95af6c',
    500: '#668e2f',
    950: '#000000',
  },
}
SCSS
$custom: #668e2f;
$custom-light: #95af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#668e2f",
  "rgb": {
    "r": 102,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 85.263,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.5971,
    "c": 0.13153,
    "h": 129.3
  },
  "luminance": 0.22376
}

Semantic roles & 50–950 ramp

primary
#668E2F
secondary
#8664B5
accent
#4EDA89
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #668E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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