#668C20#668C20

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

Color values

HEX#668C20
RGBrgb(102, 140, 32)
HSLhsl(81, 63%, 34%)
HSVhsv(81, 77%, 55%)
CMYKcmyk(27.1%, 0%, 77.1%, 45.1%)
CIE-LABlab(53.69, -29.48, 49.73)
CIE-LCHlch(53.69, 57.81, 120.66°)
OKLaboklab(59.08% -0.0848 0.1104)
OKLCHoklch(59.08% 0.139 127.5)
XYZxyz(15.1183, 21.6849, 4.7553)
Luminance0.2168 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668C20 #46208C
analogous
#8C7C20 #668C20 #308C20
triadic
#668C20 #20668C #8C2066
tetradic
#668C20 #208C7C #46208C #8C2030
square
#668C20 #208C7C #46208C #8C2030
split-complementary
#668C20 #20308C #7C208C
monochromatic
#1D2809 #425A15 #668C20 #8ABE2B #A7D750

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668C20#FFFFFF#000000##000000
##668C201.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)
#938207
Deuteranopia (green-blind)
#8E802B
Tritanopia (blue-blind)
#6A8578
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #668c20;
/* rgb */ color: rgb(102, 140, 32);
/* oklch */ color: oklch(59.1% 0.139 127.5);
Tailwind
colors: {
  custom: {
    50: '#95ad64',
    500: '#668c20',
    950: '#000000',
  },
}
SCSS
$custom: #668c20;
$custom-light: #95ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#668c20",
  "rgb": {
    "r": 102,
    "g": 140,
    "b": 32
  },
  "hsl": {
    "h": 81.111,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59081,
    "c": 0.13917,
    "h": 127.5
  },
  "luminance": 0.21685
}

Semantic roles & 50–950 ramp

primary
#668C20
secondary
#744EBA
accent
#42E67C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668C20

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

Preview Lab → · Contrast checker → · Palette generator →

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