#668E1D#668E1D

#668E1D 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#668E1D
RGBrgb(102, 142, 29)
HSLhsl(81, 66%, 34%)
HSVhsv(81, 80%, 56%)
CMYKcmyk(28.2%, 0%, 79.6%, 44.3%)
CIE-LABlab(54.30, -30.59, 51.31)
CIE-LCHlch(54.30, 59.73, 120.80°)
OKLaboklab(59.57% -0.088 0.1132)
OKLCHoklch(59.57% 0.143 127.9)
XYZxyz(15.3743, 22.2591, 4.6486)
Luminance0.2226 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668E1D #451D8E
analogous
#8E7D1D #668E1D #2D8E1D
triadic
#668E1D #1D668E #8E1D66
tetradic
#668E1D #1D8E7D #451D8E #8E1D2D
square
#668E1D #1D8E7D #451D8E #8E1D2D
split-complementary
#668E1D #1D2D8E #7D1D8E
monochromatic
#1D2808 #415B13 #668E1D #8BC127 #A8DA4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668E1D#FFFFFF#000000##000000
##668E1D1.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: #668e1d;
/* rgb */ color: rgb(102, 142, 29);
/* oklch */ color: oklch(59.6% 0.143 127.9);
Tailwind
colors: {
  custom: {
    50: '#96af63',
    500: '#668e1d',
    950: '#000000',
  },
}
SCSS
$custom: #668e1d;
$custom-light: #96af63;
$custom-dark: #000000;
JSON
{
  "hex": "#668e1d",
  "rgb": {
    "r": 102,
    "g": 142,
    "b": 29
  },
  "hsl": {
    "h": 81.239,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59571,
    "c": 0.14338,
    "h": 127.9
  },
  "luminance": 0.22259
}

Semantic roles & 50–950 ramp

primary
#668E1D
secondary
#734ABD
accent
#3FE97B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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