#668A14#668A14

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

Color values

HEX#668A14
RGBrgb(102, 138, 20)
HSLhsl(78, 75%, 31%)
HSVhsv(78, 86%, 54%)
CMYKcmyk(26.1%, 0%, 85.5%, 45.9%)
CIE-LABlab(53.01, -29.09, 52.76)
CIE-LCHlch(53.01, 60.25, 118.87°)
OKLaboklab(58.51% -0.0845 0.1148)
OKLCHoklch(58.51% 0.143 126.4)
XYZxyz(14.6943, 21.0520, 3.9510)
Luminance0.2105 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668A14 #38148A
analogous
#8A7314 #668A14 #2B8A14
triadic
#668A14 #14668A #8A1466
tetradic
#668A14 #148A73 #38148A #8A142B
square
#668A14 #148A73 #38148A #8A142B
split-complementary
#668A14 #142B8A #73148A
monochromatic
#171F05 #3E550C #668A14 #8EBF1C #AEE236

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668A14#FFFFFF#000000##000000
##668A141.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)
#8D7E22
Tritanopia (blue-blind)
#6B8375
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #668a14;
/* rgb */ color: rgb(102, 138, 20);
/* oklch */ color: oklch(58.5% 0.143 126.4);
Tailwind
colors: {
  custom: {
    50: '#96ac5f',
    500: '#668a14',
    950: '#000000',
  },
}
SCSS
$custom: #668a14;
$custom-light: #96ac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#668a14",
  "rgb": {
    "r": 102,
    "g": 138,
    "b": 20
  },
  "hsl": {
    "h": 78.305,
    "s": 74.684,
    "l": 30.98
  },
  "oklch": {
    "l": 0.58507,
    "c": 0.14257,
    "h": 126.4
  },
  "luminance": 0.21052
}

Semantic roles & 50–950 ramp

primary
#668A14
secondary
#633CBE
accent
#36F16F
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E1005
muted
#7E7F79

Preview Lab

Preview with #668A14

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

Preview Lab → · Contrast checker → · Palette generator →

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