#668111#668111

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

Color values

HEX#668111
RGBrgb(102, 129, 17)
HSLhsl(74, 77%, 29%)
HSVhsv(74, 87%, 51%)
CMYKcmyk(20.9%, 0%, 86.8%, 49.4%)
CIE-LABlab(50.18, -24.81, 51.08)
CIE-LCHlch(50.18, 56.78, 115.90°)
OKLaboklab(56.21% -0.0731 0.1107)
OKLCHoklch(56.21% 0.133 123.4)
XYZxyz(13.4311, 18.5657, 3.4061)
Luminance0.1857 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668111 #2C1181
analogous
#816411 #668111 #2E8111
triadic
#668111 #116681 #811166
tetradic
#668111 #118164 #2C1181 #81112E
square
#668111 #118164 #2C1181 #81112E
split-complementary
#668111 #112E81 #641181
monochromatic
#151B04 #3B4B0A #668111 #91B718 #B6E32A

Accessibility & contrast

On white

4.46
#668111 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#668111 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668111
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668111#FFFFFF#000000##000000
##6681111.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#85771E
Tritanopia (blue-blind)
#6C7A6D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #668111;
/* rgb */ color: rgb(102, 129, 17);
/* oklch */ color: oklch(56.2% 0.133 123.4);
Tailwind
colors: {
  custom: {
    50: '#95a55c',
    500: '#668111',
    950: '#000000',
  },
}
SCSS
$custom: #668111;
$custom-light: #95a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#668111",
  "rgb": {
    "r": 102,
    "g": 129,
    "b": 17
  },
  "hsl": {
    "h": 74.464,
    "s": 76.712,
    "l": 28.627
  },
  "oklch": {
    "l": 0.56207,
    "c": 0.13267,
    "h": 123.4
  },
  "luminance": 0.18566
}

Semantic roles & 50–950 ramp

primary
#668111
secondary
#5637B7
accent
#35F363
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #668111

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

Preview Lab → · Contrast checker → · Palette generator →

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