#668E18#668E18

#668E18 is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.5% C 0.146 H 127.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#668E18
RGBrgb(102, 142, 24)
HSLhsl(80, 71%, 33%)
HSVhsv(80, 83%, 56%)
CMYKcmyk(28.2%, 0%, 83.1%, 44.3%)
CIE-LABlab(54.28, -30.82, 52.80)
CIE-LCHlch(54.28, 61.14, 120.28°)
OKLaboklab(59.54% -0.089 0.1155)
OKLCHoklch(59.54% 0.146 127.6)
XYZxyz(15.3174, 22.2364, 4.3490)
Luminance0.2224 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668E18 #40188E
analogous
#8E7B18 #668E18 #2B8E18
triadic
#668E18 #18668E #8E1866
tetradic
#668E18 #188E7B #40188E #8E182B
square
#668E18 #188E7B #40188E #8E182B
split-complementary
#668E18 #182B8E #7B188E
monochromatic
#1B2506 #405A0F #668E18 #8CC221 #AADF41

Accessibility & contrast

On white

3.86
#668E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#668E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668E18
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668E18#FFFFFF#000000##000000
##668E181.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#968300
Deuteranopia (green-blind)
#908125
Tritanopia (blue-blind)
#6A8779
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #668e18;
/* rgb */ color: rgb(102, 142, 24);
/* oklch */ color: oklch(59.5% 0.146 127.6);
Tailwind
colors: {
  custom: {
    50: '#96af61',
    500: '#668e18',
    950: '#000000',
  },
}
SCSS
$custom: #668e18;
$custom-light: #96af61;
$custom-dark: #000000;
JSON
{
  "hex": "#668e18",
  "rgb": {
    "r": 102,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 80.339,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.59544,
    "c": 0.14583,
    "h": 127.6
  },
  "luminance": 0.22237
}

Semantic roles & 50–950 ramp

primary
#668E18
secondary
#6D42C0
accent
#3AEE77
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #668E18

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

Preview Lab → · Contrast checker → · Palette generator →

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