#668F16#668F16

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

Color values

HEX#668F16
RGBrgb(102, 143, 22)
HSLhsl(80, 73%, 32%)
HSVhsv(80, 85%, 56%)
CMYKcmyk(28.7%, 0%, 84.6%, 43.9%)
CIE-LABlab(54.58, -31.38, 53.62)
CIE-LCHlch(54.58, 62.13, 120.33°)
OKLaboklab(59.79% -0.0906 0.117)
OKLCHoklch(59.79% 0.148 127.8)
XYZxyz(15.4468, 22.5273, 4.2933)
Luminance0.2253 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668F16 #3F168F
analogous
#8F7C16 #668F16 #298F16
triadic
#668F16 #16668F #8F1666
tetradic
#668F16 #168F7C #3F168F #8F1629
square
#668F16 #168F7C #3F168F #8F1629
split-complementary
#668F16 #16298F #7C168F
monochromatic
#1A2506 #405A0E #668F16 #8CC41E #AAE13E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668F16#FFFFFF#000000##000000
##668F161.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)
#978400
Deuteranopia (green-blind)
#918224
Tritanopia (blue-blind)
#6A887A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #668f16;
/* rgb */ color: rgb(102, 143, 22);
/* oklch */ color: oklch(59.8% 0.148 127.8);
Tailwind
colors: {
  custom: {
    50: '#96b060',
    500: '#668f16',
    950: '#000000',
  },
}
SCSS
$custom: #668f16;
$custom-light: #96b060;
$custom-dark: #000000;
JSON
{
  "hex": "#668f16",
  "rgb": {
    "r": 102,
    "g": 143,
    "b": 22
  },
  "hsl": {
    "h": 80.331,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5979,
    "c": 0.14794,
    "h": 127.8
  },
  "luminance": 0.22528
}

Semantic roles & 50–950 ramp

primary
#668F16
secondary
#6B3FC1
accent
#38F076
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #668F16

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

Preview Lab → · Contrast checker → · Palette generator →

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