#668D27#668D27

#668D27 is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.4% C 0.136 H 128.3°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#668D27
RGBrgb(102, 141, 39)
HSLhsl(83, 57%, 35%)
HSVhsv(83, 72%, 55%)
CMYKcmyk(27.7%, 0%, 72.3%, 44.7%)
CIE-LABlab(54.05, -29.53, 47.48)
CIE-LCHlch(54.05, 55.91, 121.88°)
OKLaboklab(59.39% -0.0843 0.1068)
OKLCHoklch(59.39% 0.136 128.3)
XYZxyz(15.3706, 22.0207, 5.3597)
Luminance0.2202 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668D27 #4E278D
analogous
#8D8127 #668D27 #338D27
triadic
#668D27 #27668D #8D2766
tetradic
#668D27 #278D81 #4E278D #8D2733
square
#668D27 #278D81 #4E278D #8D2733
split-complementary
#668D27 #27338D #81278D
monochromatic
#212D0C #435D1A #668D27 #89BD34 #A5D25C

Accessibility & contrast

On white

3.89
#668D27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#668D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668D27
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668D27#FFFFFF#000000##000000
##668D271.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#948316
Deuteranopia (green-blind)
#8F8030
Tritanopia (blue-blind)
#6A8779
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #668d27;
/* rgb */ color: rgb(102, 141, 39);
/* oklch */ color: oklch(59.4% 0.136 128.3);
Tailwind
colors: {
  custom: {
    50: '#95ae68',
    500: '#668d27',
    950: '#000000',
  },
}
SCSS
$custom: #668d27;
$custom-light: #95ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#668d27",
  "rgb": {
    "r": 102,
    "g": 141,
    "b": 39
  },
  "hsl": {
    "h": 82.941,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59386,
    "c": 0.13606,
    "h": 128.3
  },
  "luminance": 0.22021
}

Semantic roles & 50–950 ramp

primary
#668D27
secondary
#7D59B7
accent
#48E082
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668D27

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

Preview Lab → · Contrast checker → · Palette generator →

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