#668B1E#668B1E

#668B1E is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.8% C 0.139 H 127.1°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#668B1E
RGBrgb(102, 139, 30)
HSLhsl(80, 64%, 33%)
HSVhsv(80, 78%, 55%)
CMYKcmyk(26.6%, 0%, 78.4%, 45.5%)
CIE-LABlab(53.37, -29.11, 50.10)
CIE-LCHlch(53.37, 57.95, 120.16°)
OKLaboklab(58.81% -0.0839 0.1109)
OKLCHoklch(58.81% 0.139 127.1)
XYZxyz(14.9465, 21.3835, 4.5680)
Luminance0.2138 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668B1E #431E8B
analogous
#8B791E #668B1E #2F8B1E
triadic
#668B1E #1E668B #8B1E66
tetradic
#668B1E #1E8B79 #431E8B #8B1E2F
square
#668B1E #1E8B79 #431E8B #8B1E2F
split-complementary
#668B1E #1E2F8B #791E8B
monochromatic
#1C2608 #415913 #668B1E #8BBD29 #A8D84B

Accessibility & contrast

On white

3.98
#668B1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#668B1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668B1E
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668B1E#FFFFFF#000000##000000
##668B1E1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928102
Deuteranopia (green-blind)
#8D7F29
Tritanopia (blue-blind)
#6A8477
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #668b1e;
/* rgb */ color: rgb(102, 139, 30);
/* oklch */ color: oklch(58.8% 0.139 127.1);
Tailwind
colors: {
  custom: {
    50: '#95ad63',
    500: '#668b1e',
    950: '#000000',
  },
}
SCSS
$custom: #668b1e;
$custom-light: #95ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#668b1e",
  "rgb": {
    "r": 102,
    "g": 139,
    "b": 30
  },
  "hsl": {
    "h": 80.367,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58814,
    "c": 0.13902,
    "h": 127.1
  },
  "luminance": 0.21384
}

Semantic roles & 50–950 ramp

primary
#668B1E
secondary
#704ABB
accent
#40E779
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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