#668C1E#668C1E

#668C1E is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 59.1% C 0.140 H 127.4°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#668C1E
RGBrgb(102, 140, 30)
HSLhsl(81, 65%, 33%)
HSVhsv(81, 79%, 55%)
CMYKcmyk(27.1%, 0%, 78.6%, 45.1%)
CIE-LABlab(53.68, -29.59, 50.40)
CIE-LCHlch(53.68, 58.44, 120.42°)
OKLaboklab(59.07% -0.0852 0.1115)
OKLCHoklch(59.07% 0.14 127.4)
XYZxyz(15.0920, 21.6744, 4.6165)
Luminance0.2167 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668C1E #441E8C
analogous
#8C7B1E #668C1E #2F8C1E
triadic
#668C1E #1E668C #8C1E66
tetradic
#668C1E #1E8C7B #441E8C #8C1E2F
square
#668C1E #1E8C7B #441E8C #8C1E2F
split-complementary
#668C1E #1E2F8C #7B1E8C
monochromatic
#1D2708 #415A13 #668C1E #8BBE29 #A8D94C

Accessibility & contrast

On white

3.94
#668C1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#668C1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668C1E
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668C1E#FFFFFF#000000##000000
##668C1E1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938202
Deuteranopia (green-blind)
#8E8029
Tritanopia (blue-blind)
#6A8577
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #668c1e;
/* rgb */ color: rgb(102, 140, 30);
/* oklch */ color: oklch(59.1% 0.140 127.4);
Tailwind
colors: {
  custom: {
    50: '#95ad63',
    500: '#668c1e',
    950: '#000000',
  },
}
SCSS
$custom: #668c1e;
$custom-light: #95ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#668c1e",
  "rgb": {
    "r": 102,
    "g": 140,
    "b": 30
  },
  "hsl": {
    "h": 80.727,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59068,
    "c": 0.1403,
    "h": 127.4
  },
  "luminance": 0.21675
}

Semantic roles & 50–950 ramp

primary
#668C1E
secondary
#724BBB
accent
#40E87A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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