#668B1D#668B1D

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

Color values

HEX#668B1D
RGBrgb(102, 139, 29)
HSLhsl(80, 65%, 33%)
HSVhsv(80, 79%, 55%)
CMYKcmyk(26.6%, 0%, 79.1%, 45.5%)
CIE-LABlab(53.36, -29.17, 50.43)
CIE-LCHlch(53.36, 58.26, 120.04°)
OKLaboklab(58.81% -0.0841 0.1114)
OKLCHoklch(58.81% 0.14 127.1)
XYZxyz(14.9339, 21.3784, 4.5018)
Luminance0.2138 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668B1D #421D8B
analogous
#8B791D #668B1D #2F8B1D
triadic
#668B1D #1D668B #8B1D66
tetradic
#668B1D #1D8B79 #421D8B #8B1D2F
square
#668B1D #1D8B79 #421D8B #8B1D2F
split-complementary
#668B1D #1D2F8B #791D8B
monochromatic
#1C2608 #415812 #668B1D #8BBE28 #A9D949

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668B1D#FFFFFF#000000##000000
##668B1D1.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)
#928100
Deuteranopia (green-blind)
#8D7F28
Tritanopia (blue-blind)
#6A8477
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #668b1d;
/* rgb */ color: rgb(102, 139, 29);
/* oklch */ color: oklch(58.8% 0.140 127.1);
Tailwind
colors: {
  custom: {
    50: '#95ad63',
    500: '#668b1d',
    950: '#000000',
  },
}
SCSS
$custom: #668b1d;
$custom-light: #95ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#668b1d",
  "rgb": {
    "r": 102,
    "g": 139,
    "b": 29
  },
  "hsl": {
    "h": 80.182,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58808,
    "c": 0.13957,
    "h": 127.1
  },
  "luminance": 0.21379
}

Semantic roles & 50–950 ramp

primary
#668B1D
secondary
#6F49BB
accent
#3FE878
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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