#668F20#668F20

#668F20 is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 59.8% C 0.143 H 128.3°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#668F20
RGBrgb(102, 143, 32)
HSLhsl(82, 63%, 34%)
HSVhsv(82, 78%, 56%)
CMYKcmyk(28.7%, 0%, 77.6%, 43.9%)
CIE-LABlab(54.63, -30.90, 50.62)
CIE-LCHlch(54.63, 59.31, 121.40°)
OKLaboklab(59.84% -0.0886 0.1123)
OKLCHoklch(59.84% 0.143 128.3)
XYZxyz(15.5627, 22.5736, 4.9034)
Luminance0.2257 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668F20 #49208F
analogous
#8F8120 #668F20 #2F8F20
triadic
#668F20 #20668F #8F2066
tetradic
#668F20 #208F81 #49208F #8F202F
square
#668F20 #208F81 #49208F #8F202F
split-complementary
#668F20 #202F8F #81208F
monochromatic
#1F2B0A #425D15 #668F20 #8AC12B #A6D851

Accessibility & contrast

On white

3.81
#668F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#668F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668F20
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668F20#FFFFFF#000000##000000
##668F201.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968405
Deuteranopia (green-blind)
#91822B
Tritanopia (blue-blind)
#6A887A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #668f20;
/* rgb */ color: rgb(102, 143, 32);
/* oklch */ color: oklch(59.8% 0.143 128.3);
Tailwind
colors: {
  custom: {
    50: '#95b065',
    500: '#668f20',
    950: '#000000',
  },
}
SCSS
$custom: #668f20;
$custom-light: #95b065;
$custom-dark: #000000;
JSON
{
  "hex": "#668f20",
  "rgb": {
    "r": 102,
    "g": 143,
    "b": 32
  },
  "hsl": {
    "h": 82.162,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59844,
    "c": 0.14303,
    "h": 128.3
  },
  "luminance": 0.22574
}

Semantic roles & 50–950 ramp

primary
#668F20
secondary
#774FBB
accent
#41E67E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668F20

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

Preview Lab → · Contrast checker → · Palette generator →

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