#668B32#668B32

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

Color values

HEX#668B32
RGBrgb(102, 139, 50)
HSLhsl(85, 47%, 37%)
HSVhsv(85, 64%, 55%)
CMYKcmyk(26.6%, 0%, 64%, 45.5%)
CIE-LABlab(53.51, -27.71, 42.23)
CIE-LCHlch(53.51, 50.51, 123.27°)
OKLaboklab(58.98% -0.0783 0.0973)
OKLCHoklch(58.98% 0.125 128.8)
XYZxyz(15.2878, 21.5200, 6.3653)
Luminance0.2152 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668B32 #57328B
analogous
#8B8432 #668B32 #398B32
triadic
#668B32 #32668B #8B3266
tetradic
#668B32 #328B84 #57328B #8B3239
square
#668B32 #328B84 #57328B #8B3239
split-complementary
#668B32 #32398B #84328B
monochromatic
#243112 #455E22 #668B32 #87B842 #A4CA6D

Accessibility & contrast

On white

3.96
#668B32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##668B32#FFFFFF#000000##000000
##668B321.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #668b32;
/* rgb */ color: rgb(102, 139, 50);
/* oklch */ color: oklch(59.0% 0.125 128.8);
Tailwind
colors: {
  custom: {
    50: '#94ad6e',
    500: '#668b32',
    950: '#000000',
  },
}
SCSS
$custom: #668b32;
$custom-light: #94ad6e;
$custom-dark: #000000;
JSON
{
  "hex": "#668b32",
  "rgb": {
    "r": 102,
    "g": 139,
    "b": 50
  },
  "hsl": {
    "h": 84.944,
    "s": 47.09,
    "l": 37.059
  },
  "oklch": {
    "l": 0.58981,
    "c": 0.12492,
    "h": 128.8
  },
  "luminance": 0.2152
}

Semantic roles & 50–950 ramp

primary
#668B32
secondary
#8667B2
accent
#51D789
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #668B32

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

Preview Lab → · Contrast checker → · Palette generator →

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