#668D2B#668D2B

#668D2B is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.4% C 0.133 H 128.6°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#668D2B
RGBrgb(102, 141, 43)
HSLhsl(84, 53%, 36%)
HSVhsv(84, 70%, 55%)
CMYKcmyk(27.7%, 0%, 69.5%, 44.7%)
CIE-LABlab(54.08, -29.24, 45.89)
CIE-LCHlch(54.08, 54.41, 122.51°)
OKLaboklab(59.42% -0.0832 0.1041)
OKLCHoklch(59.42% 0.133 128.6)
XYZxyz(15.4404, 22.0486, 5.7273)
Luminance0.2205 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668D2B #522B8D
analogous
#8D832B #668D2B #358D2B
triadic
#668D2B #2B668D #8D2B66
tetradic
#668D2B #2B8D83 #522B8D #8D2B35
square
#668D2B #2B8D83 #522B8D #8D2B35
split-complementary
#668D2B #2B358D #832B8D
monochromatic
#222F0E #445E1D #668D2B #88BC39 #A4CF63

Accessibility & contrast

On white

3.88
#668D2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#668D2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668D2B
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668D2B#FFFFFF#000000##000000
##668D2B1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831D
Deuteranopia (green-blind)
#8E8033
Tritanopia (blue-blind)
#698779
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #668d2b;
/* rgb */ color: rgb(102, 141, 43);
/* oklch */ color: oklch(59.4% 0.133 128.6);
Tailwind
colors: {
  custom: {
    50: '#95ae6a',
    500: '#668d2b',
    950: '#000000',
  },
}
SCSS
$custom: #668d2b;
$custom-light: #95ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#668d2b",
  "rgb": {
    "r": 102,
    "g": 141,
    "b": 43
  },
  "hsl": {
    "h": 83.878,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.5942,
    "c": 0.13322,
    "h": 128.6
  },
  "luminance": 0.22049
}

Semantic roles & 50–950 ramp

primary
#668D2B
secondary
#815EB6
accent
#4BDD85
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #668D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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