#668D1A#668D1A

#668D1A is a mid, vivid yellow-green. Relative luminance 0.219; OKLCH L 59.3% C 0.144 H 127.4°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#668D1A
RGBrgb(102, 141, 26)
HSLhsl(80, 69%, 33%)
HSVhsv(80, 82%, 55%)
CMYKcmyk(27.7%, 0%, 81.6%, 44.7%)
CIE-LABlab(53.97, -30.26, 51.94)
CIE-LCHlch(53.97, 60.11, 120.23°)
OKLaboklab(59.3% -0.0873 0.1141)
OKLCHoklch(59.3% 0.144 127.4)
XYZxyz(15.1909, 21.9488, 4.4133)
Luminance0.2195 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668D1A #411A8D
analogous
#8D7A1A #668D1A #2C8D1A
triadic
#668D1A #1A668D #8D1A66
tetradic
#668D1A #1A8D7A #411A8D #8D1A2C
square
#668D1A #1A8D7A #411A8D #8D1A2C
split-complementary
#668D1A #1A2C8D #7A1A8D
monochromatic
#1B2607 #415910 #668D1A #8BC124 #A9DD45

Accessibility & contrast

On white

3.90
#668D1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#668D1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668D1A
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668D1A#FFFFFF#000000##000000
##668D1A1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8F8027
Tritanopia (blue-blind)
#6A8678
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #668d1a;
/* rgb */ color: rgb(102, 141, 26);
/* oklch */ color: oklch(59.3% 0.144 127.4);
Tailwind
colors: {
  custom: {
    50: '#96ae62',
    500: '#668d1a',
    950: '#000000',
  },
}
SCSS
$custom: #668d1a;
$custom-light: #96ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#668d1a",
  "rgb": {
    "r": 102,
    "g": 141,
    "b": 26
  },
  "hsl": {
    "h": 80.348,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.593,
    "c": 0.14364,
    "h": 127.4
  },
  "luminance": 0.21949
}

Semantic roles & 50–950 ramp

primary
#668D1A
secondary
#6E45BE
accent
#3CEC78
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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