#668E1C#668E1C

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

Color values

HEX#668E1C
RGBrgb(102, 142, 28)
HSLhsl(81, 67%, 33%)
HSVhsv(81, 80%, 56%)
CMYKcmyk(28.2%, 0%, 80.3%, 44.3%)
CIE-LABlab(54.30, -30.64, 51.62)
CIE-LCHlch(54.30, 60.03, 120.69°)
OKLaboklab(59.57% -0.0882 0.1137)
OKLCHoklch(59.57% 0.144 127.8)
XYZxyz(15.3621, 22.2543, 4.5845)
Luminance0.2225 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668E1C #441C8E
analogous
#8E7D1C #668E1C #2D8E1C
triadic
#668E1C #1C668E #8E1C66
tetradic
#668E1C #1C8E7D #441C8E #8E1C2D
square
#668E1C #1C8E7D #441C8E #8E1C2D
split-complementary
#668E1C #1C2D8E #7D1C8E
monochromatic
#1D2808 #415B12 #668E1C #8BC126 #A8DB49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668E1C#FFFFFF#000000##000000
##668E1C1.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)
#908128
Tritanopia (blue-blind)
#6A8779
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #668e1c;
/* rgb */ color: rgb(102, 142, 28);
/* oklch */ color: oklch(59.6% 0.144 127.8);
Tailwind
colors: {
  custom: {
    50: '#96af63',
    500: '#668e1c',
    950: '#000000',
  },
}
SCSS
$custom: #668e1c;
$custom-light: #96af63;
$custom-dark: #000000;
JSON
{
  "hex": "#668e1c",
  "rgb": {
    "r": 102,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 81.053,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59565,
    "c": 0.14391,
    "h": 127.8
  },
  "luminance": 0.22255
}

Semantic roles & 50–950 ramp

primary
#668E1C
secondary
#7249BD
accent
#3EEA7A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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