#668C2B#668C2B

#668C2B is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.2% C 0.132 H 128.4°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#668C2B
RGBrgb(102, 140, 43)
HSLhsl(84, 53%, 36%)
HSVhsv(84, 69%, 55%)
CMYKcmyk(27.1%, 0%, 69.3%, 45.1%)
CIE-LABlab(53.77, -28.76, 45.56)
CIE-LCHlch(53.77, 53.88, 122.26°)
OKLaboklab(59.17% -0.0818 0.1034)
OKLCHoklch(59.17% 0.132 128.4)
XYZxyz(15.2936, 21.7550, 5.6784)
Luminance0.2175 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668C2B #512B8C
analogous
#8C812B #668C2B #368C2B
triadic
#668C2B #2B668C #8C2B66
tetradic
#668C2B #2B8C81 #512B8C #8C2B36
square
#668C2B #2B8C81 #512B8C #8C2B36
split-complementary
#668C2B #2B368C #812B8C
monochromatic
#222E0E #445D1D #668C2B #88BB39 #A4CF62

Accessibility & contrast

On white

3.92
#668C2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#668C2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668C2B
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668C2B#FFFFFF#000000##000000
##668C2B1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821D
Deuteranopia (green-blind)
#8E8033
Tritanopia (blue-blind)
#698678
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #668c2b;
/* rgb */ color: rgb(102, 140, 43);
/* oklch */ color: oklch(59.2% 0.132 128.4);
Tailwind
colors: {
  custom: {
    50: '#95ad6a',
    500: '#668c2b',
    950: '#000000',
  },
}
SCSS
$custom: #668c2b;
$custom-light: #95ad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#668c2b",
  "rgb": {
    "r": 102,
    "g": 140,
    "b": 43
  },
  "hsl": {
    "h": 83.505,
    "s": 53.005,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59166,
    "c": 0.13187,
    "h": 128.4
  },
  "luminance": 0.21755
}

Semantic roles & 50–950 ramp

primary
#668C2B
secondary
#805EB5
accent
#4BDC84
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #668C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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