#668D1E#668D1E

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

Color values

HEX#668D1E
RGBrgb(102, 141, 30)
HSLhsl(81, 65%, 34%)
HSVhsv(81, 79%, 55%)
CMYKcmyk(27.7%, 0%, 78.7%, 44.7%)
CIE-LABlab(53.99, -30.07, 50.69)
CIE-LCHlch(53.99, 58.94, 120.67°)
OKLaboklab(59.32% -0.0865 0.1121)
OKLCHoklch(59.32% 0.142 127.7)
XYZxyz(15.2387, 21.9679, 4.6654)
Luminance0.2197 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668D1E #451E8D
analogous
#8D7C1E #668D1E #2E8D1E
triadic
#668D1E #1E668D #8D1E66
tetradic
#668D1E #1E8D7C #451E8D #8D1E2E
square
#668D1E #1E8D7C #451E8D #8D1E2E
split-complementary
#668D1E #1E2E8D #7C1E8D
monochromatic
#1D2809 #415B13 #668D1E #8BBF29 #A8D94C

Accessibility & contrast

On white

3.89
#668D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##668D1E#FFFFFF#000000##000000
##668D1E1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #668d1e;
/* rgb */ color: rgb(102, 141, 30);
/* oklch */ color: oklch(59.3% 0.142 127.7);
Tailwind
colors: {
  custom: {
    50: '#95ae63',
    500: '#668d1e',
    950: '#000000',
  },
}
SCSS
$custom: #668d1e;
$custom-light: #95ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#668d1e",
  "rgb": {
    "r": 102,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 81.081,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59323,
    "c": 0.14158,
    "h": 127.7
  },
  "luminance": 0.21968
}

Semantic roles & 50–950 ramp

primary
#668D1E
secondary
#734BBC
accent
#40E87B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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