#668D1D#668D1D

#668D1D is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.3% C 0.142 H 127.6°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#668D1D
RGBrgb(102, 141, 29)
HSLhsl(81, 66%, 33%)
HSVhsv(81, 79%, 55%)
CMYKcmyk(27.7%, 0%, 79.4%, 44.7%)
CIE-LABlab(53.99, -30.12, 51.02)
CIE-LCHlch(53.99, 59.24, 120.56°)
OKLaboklab(59.32% -0.0867 0.1126)
OKLCHoklch(59.32% 0.142 127.6)
XYZxyz(15.2262, 21.9629, 4.5992)
Luminance0.2196 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668D1D #441D8D
analogous
#8D7C1D #668D1D #2E8D1D
triadic
#668D1D #1D668D #8D1D66
tetradic
#668D1D #1D8D7C #441D8D #8D1D2E
square
#668D1D #1D8D7C #441D8D #8D1D2E
split-complementary
#668D1D #1D2E8D #7C1D8D
monochromatic
#1D2708 #415A13 #668D1D #8BC027 #A8DA4B

Accessibility & contrast

On white

3.89
#668D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#668D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668D1D
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668D1D#FFFFFF#000000##000000
##668D1D1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948300
Deuteranopia (green-blind)
#8F8029
Tritanopia (blue-blind)
#6A8678
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #668d1d;
/* rgb */ color: rgb(102, 141, 29);
/* oklch */ color: oklch(59.3% 0.142 127.6);
Tailwind
colors: {
  custom: {
    50: '#95ae63',
    500: '#668d1d',
    950: '#000000',
  },
}
SCSS
$custom: #668d1d;
$custom-light: #95ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#668d1d",
  "rgb": {
    "r": 102,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 80.893,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59317,
    "c": 0.14212,
    "h": 127.6
  },
  "luminance": 0.21963
}

Semantic roles & 50–950 ramp

primary
#668D1D
secondary
#724ABC
accent
#3FE97A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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