#668016#668016

#668016 is a mid, vivid yellow-green. Relative luminance 0.183; OKLCH L 56.0% C 0.129 H 123.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#668016
RGBrgb(102, 128, 22)
HSLhsl(75, 71%, 29%)
HSVhsv(75, 83%, 50%)
CMYKcmyk(20.3%, 0%, 82.8%, 49.8%)
CIE-LABlab(49.88, -24.11, 49.45)
CIE-LCHlch(49.88, 55.01, 116.00°)
OKLaboklab(55.98% -0.0709 0.1081)
OKLCHoklch(55.98% 0.129 123.3)
XYZxyz(13.3437, 18.3210, 3.5922)
Luminance0.1832 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668016 #301680
analogous
#806516 #668016 #318016
triadic
#668016 #166680 #801666
tetradic
#668016 #168065 #301680 #801631
square
#668016 #168065 #301680 #801631
split-complementary
#668016 #163180 #651680
monochromatic
#151A04 #3C4C0D #668016 #90B41F #B3DC34

Accessibility & contrast

On white

4.50
#668016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#668016 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668016
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668016#FFFFFF#000000##000000
##6680161.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#857621
Tritanopia (blue-blind)
#6C796D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #668016;
/* rgb */ color: rgb(102, 128, 22);
/* oklch */ color: oklch(56.0% 0.129 123.3);
Tailwind
colors: {
  custom: {
    50: '#95a55e',
    500: '#668016',
    950: '#000000',
  },
}
SCSS
$custom: #668016;
$custom-light: #95a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#668016",
  "rgb": {
    "r": 102,
    "g": 128,
    "b": 22
  },
  "hsl": {
    "h": 74.717,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.55978,
    "c": 0.12925,
    "h": 123.3
  },
  "luminance": 0.18321
}

Semantic roles & 50–950 ramp

primary
#668016
secondary
#5A3DB5
accent
#3AED66
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #668016

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

Preview Lab → · Contrast checker → · Palette generator →

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