#668516#668516

#668516 is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 57.2% C 0.135 H 125.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#668516
RGBrgb(102, 133, 22)
HSLhsl(77, 72%, 30%)
HSVhsv(77, 83%, 52%)
CMYKcmyk(23.3%, 0%, 83.5%, 47.8%)
CIE-LABlab(51.45, -26.59, 50.84)
CIE-LCHlch(51.45, 57.38, 117.61°)
OKLaboklab(57.25% -0.0776 0.1111)
OKLCHoklch(57.25% 0.135 125)
XYZxyz(14.0120, 19.6576, 3.8150)
Luminance0.1966 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668516 #351685
analogous
#856C16 #668516 #2E8516
triadic
#668516 #166685 #851666
tetradic
#668516 #16856C #351685 #85162E
square
#668516 #16856C #351685 #85162E
split-complementary
#668516 #162E85 #6C1685
monochromatic
#151C05 #3E500D #668516 #8EBA1F #AFDE37

Accessibility & contrast

On white

4.26
#668516 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#668516 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668516
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668516#FFFFFF#000000##000000
##6685161.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#897A22
Tritanopia (blue-blind)
#6B7E71
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #668516;
/* rgb */ color: rgb(102, 133, 22);
/* oklch */ color: oklch(57.2% 0.135 125.0);
Tailwind
colors: {
  custom: {
    50: '#95a85f',
    500: '#668516',
    950: '#000000',
  },
}
SCSS
$custom: #668516;
$custom-light: #95a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#668516",
  "rgb": {
    "r": 102,
    "g": 133,
    "b": 22
  },
  "hsl": {
    "h": 76.757,
    "s": 71.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.57245,
    "c": 0.13549,
    "h": 125
  },
  "luminance": 0.19658
}

Semantic roles & 50–950 ramp

primary
#668516
secondary
#603EB9
accent
#39EE6C
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #668516

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

Preview Lab → · Contrast checker → · Palette generator →

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