#668D52#668D52

#668D52 is a mid, moderate yellow-green. Relative luminance 0.225; OKLCH L 59.9% C 0.096 H 135.6°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#668D52
RGBrgb(102, 141, 82)
HSLhsl(100, 26%, 44%)
HSVhsv(100, 42%, 55%)
CMYKcmyk(27.7%, 0%, 41.8%, 44.7%)
CIE-LABlab(54.54, -24.96, 27.21)
CIE-LCHlch(54.54, 36.93, 132.53°)
OKLaboklab(59.94% -0.0684 0.0669)
OKLCHoklch(59.94% 0.096 135.6)
XYZxyz(16.5269, 22.4832, 11.4499)
Luminance0.2248 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668D52 #79528D
analogous
#838D52 #668D52 #528D5B
triadic
#668D52 #52668D #8D5266
tetradic
#668D52 #52838D #79528D #8D5B52
square
#668D52 #52838D #79528D #8D5B52
split-complementary
#668D52 #5B528D #8D5283
monochromatic
#2E4025 #4A663B #668D52 #84AC70 #A6C297

Accessibility & contrast

On white

3.82
#668D52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#668D52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668D52
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668D52#FFFFFF#000000##000000
##668D521.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#91854E
Deuteranopia (green-blind)
#8B8155
Tritanopia (blue-blind)
#65897E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #668d52;
/* rgb */ color: rgb(102, 141, 82);
/* oklch */ color: oklch(59.9% 0.096 135.6);
Tailwind
colors: {
  custom: {
    50: '#93ae83',
    500: '#668d52',
    950: '#000000',
  },
}
SCSS
$custom: #668d52;
$custom-light: #93ae83;
$custom-dark: #000000;
JSON
{
  "hex": "#668d52",
  "rgb": {
    "r": 102,
    "g": 141,
    "b": 82
  },
  "hsl": {
    "h": 99.661,
    "s": 26.457,
    "l": 43.725
  },
  "oklch": {
    "l": 0.59938,
    "c": 0.09561,
    "h": 135.6
  },
  "luminance": 0.22484
}

Semantic roles & 50–950 ramp

primary
#668D52
secondary
#A38BAF
accent
#65C3A3
background
#F9FAF8
surface
#F1F4EF
border
#CBCECA
text
#0D100B
muted
#7E7F7C

Preview Lab

Preview with #668D52

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

Preview Lab → · Contrast checker → · Palette generator →

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