#668E1E#668E1E

#668E1E is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.6% C 0.143 H 127.9°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#668E1E
RGBrgb(102, 142, 30)
HSLhsl(81, 65%, 34%)
HSVhsv(81, 79%, 56%)
CMYKcmyk(28.2%, 0%, 78.9%, 44.3%)
CIE-LABlab(54.31, -30.54, 50.99)
CIE-LCHlch(54.31, 59.43, 120.92°)
OKLaboklab(59.58% -0.0878 0.1127)
OKLCHoklch(59.58% 0.143 127.9)
XYZxyz(15.3869, 22.2642, 4.7148)
Luminance0.2226 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668E1E #461E8E
analogous
#8E7E1E #668E1E #2E8E1E
triadic
#668E1E #1E668E #8E1E66
tetradic
#668E1E #1E8E7E #461E8E #8E1E2E
square
#668E1E #1E8E7E #461E8E #8E1E2E
split-complementary
#668E1E #1E2E8E #7E1E8E
monochromatic
#1D2909 #425B13 #668E1E #8AC129 #A7D94D

Accessibility & contrast

On white

3.85
#668E1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#668E1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668E1E
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668E1E#FFFFFF#000000##000000
##668E1E1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958400
Deuteranopia (green-blind)
#908129
Tritanopia (blue-blind)
#6A8779
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #668e1e;
/* rgb */ color: rgb(102, 142, 30);
/* oklch */ color: oklch(59.6% 0.143 127.9);
Tailwind
colors: {
  custom: {
    50: '#95af64',
    500: '#668e1e',
    950: '#000000',
  },
}
SCSS
$custom: #668e1e;
$custom-light: #95af64;
$custom-dark: #000000;
JSON
{
  "hex": "#668e1e",
  "rgb": {
    "r": 102,
    "g": 142,
    "b": 30
  },
  "hsl": {
    "h": 81.429,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59577,
    "c": 0.14286,
    "h": 127.9
  },
  "luminance": 0.22265
}

Semantic roles & 50–950 ramp

primary
#668E1E
secondary
#744CBC
accent
#40E87C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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