#668A16#668A16

#668A16 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.5% C 0.142 H 126.4°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#668A16
RGBrgb(102, 138, 22)
HSLhsl(79, 73%, 31%)
HSVhsv(79, 84%, 54%)
CMYKcmyk(26.1%, 0%, 84.1%, 45.9%)
CIE-LABlab(53.01, -29.01, 52.24)
CIE-LCHlch(53.01, 59.75, 119.05°)
OKLaboklab(58.52% -0.0842 0.114)
OKLCHoklch(58.52% 0.142 126.4)
XYZxyz(14.7129, 21.0594, 4.0486)
Luminance0.2106 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668A16 #3A168A
analogous
#8A7416 #668A16 #2C8A16
triadic
#668A16 #16668A #8A1666
tetradic
#668A16 #168A74 #3A168A #8A162C
square
#668A16 #168A74 #3A168A #8A162C
split-complementary
#668A16 #162C8A #74168A
monochromatic
#182005 #3F550E #668A16 #8DBF1E #ACE03B

Accessibility & contrast

On white

4.03
#668A16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#668A16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668A16
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668A16#FFFFFF#000000##000000
##668A161.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#8D7E23
Tritanopia (blue-blind)
#6B8375
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #668a16;
/* rgb */ color: rgb(102, 138, 22);
/* oklch */ color: oklch(58.5% 0.142 126.4);
Tailwind
colors: {
  custom: {
    50: '#96ac60',
    500: '#668a16',
    950: '#000000',
  },
}
SCSS
$custom: #668a16;
$custom-light: #96ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#668a16",
  "rgb": {
    "r": 102,
    "g": 138,
    "b": 22
  },
  "hsl": {
    "h": 78.621,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.58516,
    "c": 0.14173,
    "h": 126.4
  },
  "luminance": 0.2106
}

Semantic roles & 50–950 ramp

primary
#668A16
secondary
#663EBE
accent
#39EF71
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E1005
muted
#7E7F79

Preview Lab

Preview with #668A16

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

Preview Lab → · Contrast checker → · Palette generator →

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