#668B2C#668B2C

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

Color values

HEX#668B2C
RGBrgb(102, 139, 44)
HSLhsl(83, 52%, 36%)
HSVhsv(83, 68%, 55%)
CMYKcmyk(26.6%, 0%, 68.3%, 45.5%)
CIE-LABlab(53.46, -28.21, 44.82)
CIE-LCHlch(53.46, 52.96, 122.18°)
OKLaboklab(58.92% -0.0802 0.102)
OKLCHoklch(58.92% 0.13 128.2)
XYZxyz(15.1667, 21.4715, 5.7277)
Luminance0.2147 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668B2C #512C8B
analogous
#8B802C #668B2C #368B2C
triadic
#668B2C #2C668B #8B2C66
tetradic
#668B2C #2C8B80 #512C8B #8B2C36
square
#668B2C #2C8B80 #512C8B #8B2C36
split-complementary
#668B2C #2C368B #802C8B
monochromatic
#222E0F #445D1D #668B2C #88B93B #A4CE64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668B2C#FFFFFF#000000##000000
##668B2C1.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)
#92811F
Deuteranopia (green-blind)
#8D7F34
Tritanopia (blue-blind)
#698578
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #668b2c;
/* rgb */ color: rgb(102, 139, 44);
/* oklch */ color: oklch(58.9% 0.130 128.2);
Tailwind
colors: {
  custom: {
    50: '#95ad6a',
    500: '#668b2c',
    950: '#000000',
  },
}
SCSS
$custom: #668b2c;
$custom-light: #95ad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#668b2c",
  "rgb": {
    "r": 102,
    "g": 139,
    "b": 44
  },
  "hsl": {
    "h": 83.368,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58922,
    "c": 0.12976,
    "h": 128.2
  },
  "luminance": 0.21472
}

Semantic roles & 50–950 ramp

primary
#668B2C
secondary
#805FB4
accent
#4CDB84
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #668B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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