#668D15#668D15

#668D15 is a mid, vivid yellow-green. Relative luminance 0.219; OKLCH L 59.3% C 0.146 H 127.2°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#668D15
RGBrgb(102, 141, 21)
HSLhsl(80, 74%, 32%)
HSVhsv(80, 85%, 55%)
CMYKcmyk(27.7%, 0%, 85.1%, 44.7%)
CIE-LABlab(53.95, -30.47, 53.33)
CIE-LCHlch(53.95, 61.42, 119.75°)
OKLaboklab(59.28% -0.0882 0.1162)
OKLCHoklch(59.28% 0.146 127.2)
XYZxyz(15.1398, 21.9284, 4.1443)
Luminance0.2193 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668D15 #3C158D
analogous
#8D7815 #668D15 #2A8D15
triadic
#668D15 #15668D #8D1566
tetradic
#668D15 #158D78 #3C158D #8D152A
square
#668D15 #158D78 #3C158D #8D152A
split-complementary
#668D15 #152A8D #78158D
monochromatic
#192205 #3F580D #668D15 #8DC21D #ABE23B

Accessibility & contrast

On white

3.90
#668D15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#668D15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668D15
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668D15#FFFFFF#000000##000000
##668D151.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8F8023
Tritanopia (blue-blind)
#6A8678
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #668d15;
/* rgb */ color: rgb(102, 141, 21);
/* oklch */ color: oklch(59.3% 0.146 127.2);
Tailwind
colors: {
  custom: {
    50: '#96ae60',
    500: '#668d15',
    950: '#000000',
  },
}
SCSS
$custom: #668d15;
$custom-light: #96ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#668d15",
  "rgb": {
    "r": 102,
    "g": 141,
    "b": 21
  },
  "hsl": {
    "h": 79.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.59275,
    "c": 0.14588,
    "h": 127.2
  },
  "luminance": 0.21929
}

Semantic roles & 50–950 ramp

primary
#668D15
secondary
#683DC1
accent
#37F173
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #668D15

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

Preview Lab → · Contrast checker → · Palette generator →

#668D15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva