#668952#668952

#668952 is a mid, moderate yellow-green. Relative luminance 0.213; OKLCH L 58.9% C 0.089 H 134.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#668952
RGBrgb(102, 137, 82)
HSLhsl(98, 25%, 43%)
HSVhsv(98, 40%, 54%)
CMYKcmyk(25.5%, 0%, 40.1%, 46.3%)
CIE-LABlab(53.30, -22.94, 25.62)
CIE-LCHlch(53.30, 34.39, 131.85°)
OKLaboklab(58.94% -0.0628 0.0632)
OKLCHoklch(58.94% 0.089 134.8)
XYZxyz(15.9478, 21.3249, 11.2569)
Luminance0.2132 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668952 #755289
analogous
#818952 #668952 #528959
triadic
#668952 #526689 #895266
tetradic
#668952 #528189 #755289 #895952
square
#668952 #528189 #755289 #895952
split-complementary
#668952 #595289 #895281
monochromatic
#2D3C24 #49633B #668952 #84A96F #A5C096

Accessibility & contrast

On white

3.99
#668952 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#668952 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668952
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668952#FFFFFF#000000##000000
##6689521.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D814E
Deuteranopia (green-blind)
#887E55
Tritanopia (blue-blind)
#66857B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #668952;
/* rgb */ color: rgb(102, 137, 82);
/* oklch */ color: oklch(58.9% 0.089 134.8);
Tailwind
colors: {
  custom: {
    50: '#93ab83',
    500: '#668952',
    950: '#000000',
  },
}
SCSS
$custom: #668952;
$custom-light: #93ab83;
$custom-dark: #000000;
JSON
{
  "hex": "#668952",
  "rgb": {
    "r": 102,
    "g": 137,
    "b": 82
  },
  "hsl": {
    "h": 98.182,
    "s": 25.114,
    "l": 42.941
  },
  "oklch": {
    "l": 0.58943,
    "c": 0.08907,
    "h": 134.8
  },
  "luminance": 0.21325
}

Semantic roles & 50–950 ramp

primary
#668952
secondary
#A08AAD
accent
#66C2A0
background
#F9FAF8
surface
#F1F4EF
border
#CBCECA
text
#0D100A
muted
#7E7F7C

Preview Lab

Preview with #668952

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

Preview Lab → · Contrast checker → · Palette generator →

#668952 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva