#668C21#668C21

#668C21 is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 59.1% C 0.139 H 127.6°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#668C21
RGBrgb(102, 140, 33)
HSLhsl(81, 62%, 34%)
HSVhsv(81, 76%, 55%)
CMYKcmyk(27.1%, 0%, 76.4%, 45.1%)
CIE-LABlab(53.70, -29.43, 49.38)
CIE-LCHlch(53.70, 57.48, 120.79°)
OKLaboklab(59.09% -0.0845 0.1098)
OKLCHoklch(59.09% 0.139 127.6)
XYZxyz(15.1321, 21.6904, 4.8280)
Luminance0.2169 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668C21 #47218C
analogous
#8C7D21 #668C21 #318C21
triadic
#668C21 #21668C #8C2166
tetradic
#668C21 #218C7D #47218C #8C2131
square
#668C21 #218C7D #47218C #8C2131
split-complementary
#668C21 #21318C #7D218C
monochromatic
#1E290A #425A15 #668C21 #8ABE2D #A7D651

Accessibility & contrast

On white

3.93
#668C21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#668C21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668C21
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668C21#FFFFFF#000000##000000
##668C211.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938209
Deuteranopia (green-blind)
#8E802B
Tritanopia (blue-blind)
#6A8578
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #668c21;
/* rgb */ color: rgb(102, 140, 33);
/* oklch */ color: oklch(59.1% 0.139 127.6);
Tailwind
colors: {
  custom: {
    50: '#95ad65',
    500: '#668c21',
    950: '#000000',
  },
}
SCSS
$custom: #668c21;
$custom-light: #95ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#668c21",
  "rgb": {
    "r": 102,
    "g": 140,
    "b": 33
  },
  "hsl": {
    "h": 81.308,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59088,
    "c": 0.13858,
    "h": 127.6
  },
  "luminance": 0.21691
}

Semantic roles & 50–950 ramp

primary
#668C21
secondary
#754FB9
accent
#43E57C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668C21

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

Preview Lab → · Contrast checker → · Palette generator →

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