#668F18#668F18

#668F18 is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 59.8% C 0.147 H 127.8°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#668F18
RGBrgb(102, 143, 24)
HSLhsl(81, 71%, 33%)
HSVhsv(81, 83%, 56%)
CMYKcmyk(28.7%, 0%, 83.2%, 43.9%)
CIE-LABlab(54.59, -31.29, 53.08)
CIE-LCHlch(54.59, 61.62, 120.52°)
OKLaboklab(59.8% -0.0902 0.1161)
OKLCHoklch(59.8% 0.147 127.8)
XYZxyz(15.4669, 22.5353, 4.3988)
Luminance0.2254 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668F18 #41188F
analogous
#8F7C18 #668F18 #2B8F18
triadic
#668F18 #18668F #8F1866
tetradic
#668F18 #188F7C #41188F #8F182B
square
#668F18 #188F7C #41188F #8F182B
split-complementary
#668F18 #182B8F #7C188F
monochromatic
#1B2606 #415B0F #668F18 #8BC321 #A9DF42

Accessibility & contrast

On white

3.81
#668F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#668F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668F18
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668F18#FFFFFF#000000##000000
##668F181.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#978400
Deuteranopia (green-blind)
#918226
Tritanopia (blue-blind)
#6A887A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #668f18;
/* rgb */ color: rgb(102, 143, 24);
/* oklch */ color: oklch(59.8% 0.147 127.8);
Tailwind
colors: {
  custom: {
    50: '#96b061',
    500: '#668f18',
    950: '#000000',
  },
}
SCSS
$custom: #668f18;
$custom-light: #96b061;
$custom-dark: #000000;
JSON
{
  "hex": "#668f18",
  "rgb": {
    "r": 102,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 80.672,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59799,
    "c": 0.14707,
    "h": 127.8
  },
  "luminance": 0.22536
}

Semantic roles & 50–950 ramp

primary
#668F18
secondary
#6E43C0
accent
#3AEE78
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #668F18

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

Preview Lab → · Contrast checker → · Palette generator →

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