#668342#668342

#668342 is a mid, moderate yellow-green. Relative luminance 0.195; OKLCH L 57.2% C 0.098 H 128.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#668342
RGBrgb(102, 131, 66)
HSLhsl(87, 33%, 39%)
HSVhsv(87, 50%, 51%)
CMYKcmyk(22.1%, 0%, 49.6%, 48.6%)
CIE-LABlab(51.21, -22.05, 31.63)
CIE-LCHlch(51.21, 38.56, 124.88°)
OKLaboklab(57.18% -0.0612 0.076)
OKLCHoklch(57.18% 0.098 128.9)
XYZxyz(14.5790, 19.4505, 8.1394)
Luminance0.1945 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668342 #5F4283
analogous
#837F42 #668342 #458342
triadic
#668342 #426683 #834266
tetradic
#668342 #42837F #5F4283 #834245
square
#668342 #42837F #5F4283 #834245
split-complementary
#668342 #424583 #7F4283
monochromatic
#273219 #465A2D #668342 #86AB58 #A3BF80

Accessibility & contrast

On white

4.29
#668342 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#668342 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668342
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668342#FFFFFF#000000##000000
##6683421.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B3C
Deuteranopia (green-blind)
#847946
Tritanopia (blue-blind)
#687E74
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #668342;
/* rgb */ color: rgb(102, 131, 66);
/* oklch */ color: oklch(57.2% 0.098 128.9);
Tailwind
colors: {
  custom: {
    50: '#93a778',
    500: '#668342',
    950: '#000000',
  },
}
SCSS
$custom: #668342;
$custom-light: #93a778;
$custom-dark: #000000;
JSON
{
  "hex": "#668342",
  "rgb": {
    "r": 102,
    "g": 131,
    "b": 66
  },
  "hsl": {
    "h": 86.769,
    "s": 32.995,
    "l": 38.627
  },
  "oklch": {
    "l": 0.57176,
    "c": 0.09756,
    "h": 128.9
  },
  "luminance": 0.19451
}

Semantic roles & 50–950 ramp

primary
#668342
secondary
#8E77AA
accent
#5FC98E
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D0F09
muted
#7E7F7B

Preview Lab

Preview with #668342

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

Preview Lab → · Contrast checker → · Palette generator →

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