#668B2F#668B2F

#668B2F is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 59.0% C 0.127 H 128.5°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#668B2F
RGBrgb(102, 139, 47)
HSLhsl(84, 49%, 36%)
HSVhsv(84, 66%, 55%)
CMYKcmyk(26.6%, 0%, 66.2%, 45.5%)
CIE-LABlab(53.49, -27.97, 43.55)
CIE-LCHlch(53.49, 51.75, 122.71°)
OKLaboklab(58.95% -0.0793 0.0997)
OKLCHoklch(58.95% 0.127 128.5)
XYZxyz(15.2252, 21.4949, 6.0356)
Luminance0.2150 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668B2F #542F8B
analogous
#8B822F #668B2F #388B2F
triadic
#668B2F #2F668B #8B2F66
tetradic
#668B2F #2F8B82 #542F8B #8B2F38
square
#668B2F #2F8B82 #542F8B #8B2F38
split-complementary
#668B2F #2F388B #822F8B
monochromatic
#233010 #445D20 #668B2F #88B93E #A4CC68

Accessibility & contrast

On white

3.96
#668B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#668B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668B2F
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668B2F#FFFFFF#000000##000000
##668B2F1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928123
Deuteranopia (green-blind)
#8D7F36
Tritanopia (blue-blind)
#698578
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #668b2f;
/* rgb */ color: rgb(102, 139, 47);
/* oklch */ color: oklch(59.0% 0.127 128.5);
Tailwind
colors: {
  custom: {
    50: '#94ad6c',
    500: '#668b2f',
    950: '#000000',
  },
}
SCSS
$custom: #668b2f;
$custom-light: #94ad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#668b2f",
  "rgb": {
    "r": 102,
    "g": 139,
    "b": 47
  },
  "hsl": {
    "h": 84.13,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.5895,
    "c": 0.1274,
    "h": 128.5
  },
  "luminance": 0.21495
}

Semantic roles & 50–950 ramp

primary
#668B2F
secondary
#8363B3
accent
#4FD986
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #668B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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