#668121#668121

#668121 is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 56.3% C 0.124 H 124.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#668121
RGBrgb(102, 129, 33)
HSLhsl(77, 59%, 32%)
HSVhsv(77, 74%, 51%)
CMYKcmyk(20.9%, 0%, 74.4%, 49.4%)
CIE-LABlab(50.26, -24.04, 46.03)
CIE-LCHlch(50.26, 51.93, 117.58°)
OKLaboklab(56.3% -0.0698 0.1028)
OKLCHoklch(56.3% 0.124 124.2)
XYZxyz(13.6044, 18.6350, 4.3187)
Luminance0.1863 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668121 #3C2181
analogous
#816C21 #668121 #368121
triadic
#668121 #216681 #812166
tetradic
#668121 #21816C #3C2181 #812136
square
#668121 #21816C #3C2181 #812136
split-complementary
#668121 #213681 #6C2181
monochromatic
#192008 #3F5015 #668121 #8DB22D #ABD14B

Accessibility & contrast

On white

4.44
#668121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#668121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668121
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668121#FFFFFF#000000##000000
##6681211.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#89780F
Deuteranopia (green-blind)
#857729
Tritanopia (blue-blind)
#6B7A6E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #668121;
/* rgb */ color: rgb(102, 129, 33);
/* oklch */ color: oklch(56.3% 0.124 124.2);
Tailwind
colors: {
  custom: {
    50: '#95a563',
    500: '#668121',
    950: '#000000',
  },
}
SCSS
$custom: #668121;
$custom-light: #95a563;
$custom-dark: #000000;
JSON
{
  "hex": "#668121",
  "rgb": {
    "r": 102,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 76.875,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.563,
    "c": 0.12426,
    "h": 124.2
  },
  "luminance": 0.18635
}

Semantic roles & 50–950 ramp

primary
#668121
secondary
#684AB4
accent
#45E272
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #668121

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

Preview Lab → · Contrast checker → · Palette generator →

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