#668D3A#668D3A

#668D3A is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.6% C 0.121 H 130.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#668D3A
RGBrgb(102, 141, 58)
HSLhsl(88, 42%, 39%)
HSVhsv(88, 59%, 55%)
CMYKcmyk(27.7%, 0%, 58.9%, 44.7%)
CIE-LABlab(54.22, -27.92, 39.25)
CIE-LCHlch(54.22, 48.17, 125.43°)
OKLaboklab(59.58% -0.0782 0.0919)
OKLCHoklch(59.58% 0.121 130.4)
XYZxyz(15.7679, 22.1796, 7.4525)
Luminance0.2218 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668D3A #613A8D
analogous
#8D8B3A #668D3A #3C8D3A
triadic
#668D3A #3A668D #8D3A66
tetradic
#668D3A #3A8D8B #613A8D #8D3A3C
square
#668D3A #3A8D8B #613A8D #8D3A3C
split-complementary
#668D3A #3A3C8D #8B3A8D
monochromatic
#273616 #476228 #668D3A #85B64E #A3C879

Accessibility & contrast

On white

3.86
#668D3A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#668D3A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668D3A
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668D3A#FFFFFF#000000##000000
##668D3A1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938331
Deuteranopia (green-blind)
#8D8140
Tritanopia (blue-blind)
#68877B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #668d3a;
/* rgb */ color: rgb(102, 141, 58);
/* oklch */ color: oklch(59.6% 0.121 130.4);
Tailwind
colors: {
  custom: {
    50: '#94ae73',
    500: '#668d3a',
    950: '#000000',
  },
}
SCSS
$custom: #668d3a;
$custom-light: #94ae73;
$custom-dark: #000000;
JSON
{
  "hex": "#668d3a",
  "rgb": {
    "r": 102,
    "g": 141,
    "b": 58
  },
  "hsl": {
    "h": 88.193,
    "s": 41.709,
    "l": 39.02
  },
  "oklch": {
    "l": 0.59576,
    "c": 0.12066,
    "h": 130.4
  },
  "luminance": 0.2218
}

Semantic roles & 50–950 ramp

primary
#668D3A
secondary
#8F71B1
accent
#56D290
background
#F9FAF7
surface
#F2F4ED
border
#CCCEC8
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #668D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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