#668D17#668D17

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

Color values

HEX#668D17
RGBrgb(102, 141, 23)
HSLhsl(80, 72%, 32%)
HSVhsv(80, 84%, 55%)
CMYKcmyk(27.7%, 0%, 83.7%, 44.7%)
CIE-LABlab(53.96, -30.39, 52.80)
CIE-LCHlch(53.96, 60.92, 119.93°)
OKLaboklab(59.28% -0.0879 0.1154)
OKLCHoklch(59.28% 0.145 127.3)
XYZxyz(15.1591, 21.9361, 4.2459)
Luminance0.2194 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668D17 #3E178D
analogous
#8D7917 #668D17 #2B8D17
triadic
#668D17 #17668D #8D1766
tetradic
#668D17 #178D79 #3E178D #8D172B
square
#668D17 #178D79 #3E178D #8D172B
split-complementary
#668D17 #172B8D #79178D
monochromatic
#1A2406 #40580E #668D17 #8CC220 #AAE03F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668D17#FFFFFF#000000##000000
##668D171.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)
#8F8025
Tritanopia (blue-blind)
#6A8678
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #668d17;
/* rgb */ color: rgb(102, 141, 23);
/* oklch */ color: oklch(59.3% 0.145 127.3);
Tailwind
colors: {
  custom: {
    50: '#96ae61',
    500: '#668d17',
    950: '#000000',
  },
}
SCSS
$custom: #668d17;
$custom-light: #96ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#668d17",
  "rgb": {
    "r": 102,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 79.831,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.59284,
    "c": 0.14502,
    "h": 127.3
  },
  "luminance": 0.21936
}

Semantic roles & 50–950 ramp

primary
#668D17
secondary
#6A40C0
accent
#39EF75
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #668D17

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

Preview Lab → · Contrast checker → · Palette generator →

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