#668116#668116

#668116 is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 56.2% C 0.131 H 123.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#668116
RGBrgb(102, 129, 22)
HSLhsl(75, 71%, 30%)
HSVhsv(75, 83%, 51%)
CMYKcmyk(20.9%, 0%, 82.9%, 49.4%)
CIE-LABlab(50.20, -24.61, 49.73)
CIE-LCHlch(50.20, 55.48, 116.33°)
OKLaboklab(56.23% -0.0722 0.1087)
OKLCHoklch(56.23% 0.131 123.6)
XYZxyz(13.4747, 18.5831, 3.6359)
Luminance0.1858 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668116 #311681
analogous
#816716 #668116 #318116
triadic
#668116 #166681 #811666
tetradic
#668116 #168167 #311681 #811631
square
#668116 #168167 #311681 #811631
split-complementary
#668116 #163181 #671681
monochromatic
#151A04 #3D4D0D #668116 #8FB51F #B2DD35

Accessibility & contrast

On white

4.45
#668116 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#668116 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668116
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668116#FFFFFF#000000##000000
##6681161.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#857722
Tritanopia (blue-blind)
#6C7A6E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #668116;
/* rgb */ color: rgb(102, 129, 22);
/* oklch */ color: oklch(56.2% 0.131 123.6);
Tailwind
colors: {
  custom: {
    50: '#95a55e',
    500: '#668116',
    950: '#000000',
  },
}
SCSS
$custom: #668116;
$custom-light: #95a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#668116",
  "rgb": {
    "r": 102,
    "g": 129,
    "b": 22
  },
  "hsl": {
    "h": 75.14,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.56231,
    "c": 0.1305,
    "h": 123.6
  },
  "luminance": 0.18583
}

Semantic roles & 50–950 ramp

primary
#668116
secondary
#5C3DB6
accent
#3AEE67
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #668116

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

Preview Lab → · Contrast checker → · Palette generator →

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