#668E19#668E19

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

Color values

HEX#668E19
RGBrgb(102, 142, 25)
HSLhsl(81, 70%, 33%)
HSVhsv(81, 82%, 56%)
CMYKcmyk(28.2%, 0%, 82.4%, 44.3%)
CIE-LABlab(54.28, -30.78, 52.52)
CIE-LCHlch(54.28, 60.87, 120.37°)
OKLaboklab(59.55% -0.0888 0.1151)
OKLCHoklch(59.55% 0.145 127.6)
XYZxyz(15.3280, 22.2406, 4.4048)
Luminance0.2224 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668E19 #41198E
analogous
#8E7C19 #668E19 #2B8E19
triadic
#668E19 #19668E #8E1966
tetradic
#668E19 #198E7C #41198E #8E192B
square
#668E19 #198E7C #41198E #8E192B
split-complementary
#668E19 #192B8E #7C198E
monochromatic
#1B2607 #415A10 #668E19 #8BC222 #A9DE43

Accessibility & contrast

On white

3.85
#668E19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##668E19#FFFFFF#000000##000000
##668E191.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #668e19;
/* rgb */ color: rgb(102, 142, 25);
/* oklch */ color: oklch(59.5% 0.145 127.6);
Tailwind
colors: {
  custom: {
    50: '#96af61',
    500: '#668e19',
    950: '#000000',
  },
}
SCSS
$custom: #668e19;
$custom-light: #96af61;
$custom-dark: #000000;
JSON
{
  "hex": "#668e19",
  "rgb": {
    "r": 102,
    "g": 142,
    "b": 25
  },
  "hsl": {
    "h": 80.513,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59549,
    "c": 0.14537,
    "h": 127.6
  },
  "luminance": 0.22241
}

Semantic roles & 50–950 ramp

primary
#668E19
secondary
#6E44BF
accent
#3BED78
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #668E19

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

Preview Lab → · Contrast checker → · Palette generator →

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