#668916#668916

#668916 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.3% C 0.140 H 126.2°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#668916
RGBrgb(102, 137, 22)
HSLhsl(78, 72%, 31%)
HSVhsv(78, 84%, 54%)
CMYKcmyk(25.5%, 0%, 83.9%, 46.3%)
CIE-LABlab(52.70, -28.53, 51.96)
CIE-LCHlch(52.70, 59.28, 118.77°)
OKLaboklab(58.26% -0.0829 0.1134)
OKLCHoklch(58.26% 0.14 126.2)
XYZxyz(14.5701, 20.7738, 4.0010)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668916 #391689
analogous
#897216 #668916 #2C8916
triadic
#668916 #166689 #891666
tetradic
#668916 #168972 #391689 #89162C
square
#668916 #168972 #391689 #89162C
split-complementary
#668916 #162C89 #721689
monochromatic
#172005 #3F540E #668916 #8DBE1E #ADDF3A

Accessibility & contrast

On white

4.07
#668916 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#668916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668916
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668916#FFFFFF#000000##000000
##6689161.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#8C7D23
Tritanopia (blue-blind)
#6B8274
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #668916;
/* rgb */ color: rgb(102, 137, 22);
/* oklch */ color: oklch(58.3% 0.140 126.2);
Tailwind
colors: {
  custom: {
    50: '#95ab60',
    500: '#668916',
    950: '#000000',
  },
}
SCSS
$custom: #668916;
$custom-light: #95ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#668916",
  "rgb": {
    "r": 102,
    "g": 137,
    "b": 22
  },
  "hsl": {
    "h": 78.261,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.58261,
    "c": 0.14048,
    "h": 126.2
  },
  "luminance": 0.20774
}

Semantic roles & 50–950 ramp

primary
#668916
secondary
#653EBD
accent
#39EF70
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E1005
muted
#7E7F79

Preview Lab

Preview with #668916

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

Preview Lab → · Contrast checker → · Palette generator →

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