#668B2B#668B2B

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

Color values

HEX#668B2B
RGBrgb(102, 139, 43)
HSLhsl(83, 53%, 36%)
HSVhsv(83, 69%, 55%)
CMYKcmyk(26.6%, 0%, 69.1%, 45.5%)
CIE-LABlab(53.45, -28.28, 45.24)
CIE-LCHlch(53.45, 53.35, 122.01°)
OKLaboklab(58.91% -0.0805 0.1027)
OKLCHoklch(58.91% 0.131 128.1)
XYZxyz(15.1481, 21.4641, 5.6299)
Luminance0.2146 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668B2B #502B8B
analogous
#8B802B #668B2B #368B2B
triadic
#668B2B #2B668B #8B2B66
tetradic
#668B2B #2B8B80 #502B8B #8B2B36
square
#668B2B #2B8B80 #502B8B #8B2B36
split-complementary
#668B2B #2B368B #802B8B
monochromatic
#212E0E #445C1D #668B2B #88BA39 #A5CE62

Accessibility & contrast

On white

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

On black

5.29
#668B2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668B2B
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668B2B#FFFFFF#000000##000000
##668B2B1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811D
Deuteranopia (green-blind)
#8D7F33
Tritanopia (blue-blind)
#698578
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #668b2b;
/* rgb */ color: rgb(102, 139, 43);
/* oklch */ color: oklch(58.9% 0.131 128.1);
Tailwind
colors: {
  custom: {
    50: '#95ad6a',
    500: '#668b2b',
    950: '#000000',
  },
}
SCSS
$custom: #668b2b;
$custom-light: #95ad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#668b2b",
  "rgb": {
    "r": 102,
    "g": 139,
    "b": 43
  },
  "hsl": {
    "h": 83.125,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58913,
    "c": 0.13052,
    "h": 128.1
  },
  "luminance": 0.21464
}

Semantic roles & 50–950 ramp

primary
#668B2B
secondary
#7F5DB5
accent
#4CDC83
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #668B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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