#668D3D#668D3D

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

Color values

HEX#668D3D
RGBrgb(102, 141, 61)
HSLhsl(89, 40%, 40%)
HSVhsv(89, 57%, 55%)
CMYKcmyk(27.7%, 0%, 56.7%, 44.7%)
CIE-LABlab(54.25, -27.61, 37.82)
CIE-LCHlch(54.25, 46.83, 126.13°)
OKLaboklab(59.61% -0.0771 0.0891)
OKLCHoklch(59.61% 0.118 130.8)
XYZxyz(15.8465, 22.2110, 7.8662)
Luminance0.2221 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668D3D #643D8D
analogous
#8D8C3D #668D3D #3E8D3D
triadic
#668D3D #3D668D #8D3D66
tetradic
#668D3D #3D8D8C #643D8D #8D3D3E
square
#668D3D #3D8D8C #643D8D #8D3D3E
split-complementary
#668D3D #3D3E8D #8C3D8D
monochromatic
#283818 #47622B #668D3D #85B453 #A3C77D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668D3D#FFFFFF#000000##000000
##668D3D1.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)
#938435
Deuteranopia (green-blind)
#8D8142
Tritanopia (blue-blind)
#68887B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #668d3d;
/* rgb */ color: rgb(102, 141, 61);
/* oklch */ color: oklch(59.6% 0.118 130.8);
Tailwind
colors: {
  custom: {
    50: '#94ae75',
    500: '#668d3d',
    950: '#000000',
  },
}
SCSS
$custom: #668d3d;
$custom-light: #94ae75;
$custom-dark: #000000;
JSON
{
  "hex": "#668d3d",
  "rgb": {
    "r": 102,
    "g": 141,
    "b": 61
  },
  "hsl": {
    "h": 89.25,
    "s": 39.604,
    "l": 39.608
  },
  "oklch": {
    "l": 0.59614,
    "c": 0.11782,
    "h": 130.8
  },
  "luminance": 0.22211
}

Semantic roles & 50–950 ramp

primary
#668D3D
secondary
#9275B1
accent
#58CF92
background
#F9FAF7
surface
#F2F4ED
border
#CCCEC8
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #668D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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