#668011#668011

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

Color values

HEX#668011
RGBrgb(102, 128, 17)
HSLhsl(74, 77%, 28%)
HSVhsv(74, 87%, 50%)
CMYKcmyk(20.3%, 0%, 86.7%, 49.8%)
CIE-LABlab(49.86, -24.31, 50.81)
CIE-LCHlch(49.86, 56.32, 115.57°)
OKLaboklab(55.95% -0.0717 0.1101)
OKLCHoklch(55.95% 0.131 123.1)
XYZxyz(13.3000, 18.3035, 3.3625)
Luminance0.1830 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668011 #2B1180
analogous
#806211 #668011 #2E8011
triadic
#668011 #116680 #801166
tetradic
#668011 #118062 #2B1180 #80112E
square
#668011 #118062 #2B1180 #80112E
split-complementary
#668011 #112E80 #621180
monochromatic
#161B04 #3B4A0A #668011 #91B618 #B7E329

Accessibility & contrast

On white

4.51
#668011 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##668011#FFFFFF#000000##000000
##6680111.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #668011;
/* rgb */ color: rgb(102, 128, 17);
/* oklch */ color: oklch(56.0% 0.131 123.1);
Tailwind
colors: {
  custom: {
    50: '#95a55c',
    500: '#668011',
    950: '#000000',
  },
}
SCSS
$custom: #668011;
$custom-light: #95a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#668011",
  "rgb": {
    "r": 102,
    "g": 128,
    "b": 17
  },
  "hsl": {
    "h": 74.054,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.55954,
    "c": 0.13145,
    "h": 123.1
  },
  "luminance": 0.18304
}

Semantic roles & 50–950 ramp

primary
#668011
secondary
#5537B6
accent
#35F361
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #668011

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

Preview Lab → · Contrast checker → · Palette generator →

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