#668B2D#668B2D

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

Color values

HEX#668B2D
RGBrgb(102, 139, 45)
HSLhsl(84, 51%, 36%)
HSVhsv(84, 68%, 55%)
CMYKcmyk(26.6%, 0%, 67.6%, 45.5%)
CIE-LABlab(53.47, -28.13, 44.40)
CIE-LCHlch(53.47, 52.56, 122.35°)
OKLaboklab(58.93% -0.0799 0.1013)
OKLCHoklch(58.93% 0.129 128.3)
XYZxyz(15.1857, 21.4791, 5.8279)
Luminance0.2148 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668B2D #522D8B
analogous
#8B812D #668B2D #378B2D
triadic
#668B2D #2D668B #8B2D66
tetradic
#668B2D #2D8B81 #522D8B #8B2D37
square
#668B2D #2D8B81 #522D8B #8B2D37
split-complementary
#668B2D #2D378B #812D8B
monochromatic
#222F0F #445D1E #668B2D #88B93C #A4CD65

Accessibility & contrast

On white

3.97
#668B2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##668B2D#FFFFFF#000000##000000
##668B2D1.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #668b2d;
/* rgb */ color: rgb(102, 139, 45);
/* oklch */ color: oklch(58.9% 0.129 128.3);
Tailwind
colors: {
  custom: {
    50: '#95ad6b',
    500: '#668b2d',
    950: '#000000',
  },
}
SCSS
$custom: #668b2d;
$custom-light: #95ad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#668b2d",
  "rgb": {
    "r": 102,
    "g": 139,
    "b": 45
  },
  "hsl": {
    "h": 83.617,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.58931,
    "c": 0.12899,
    "h": 128.3
  },
  "luminance": 0.21479
}

Semantic roles & 50–950 ramp

primary
#668B2D
secondary
#8160B4
accent
#4DDB85
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #668B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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