#668F1D#668F1D

#668F1D is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 59.8% C 0.145 H 128.1°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#668F1D
RGBrgb(102, 143, 29)
HSLhsl(82, 66%, 34%)
HSVhsv(82, 80%, 56%)
CMYKcmyk(28.7%, 0%, 79.7%, 43.9%)
CIE-LABlab(54.61, -31.06, 51.60)
CIE-LCHlch(54.61, 60.23, 121.05°)
OKLaboklab(59.83% -0.0893 0.1138)
OKLCHoklch(59.83% 0.145 128.1)
XYZxyz(15.5237, 22.5580, 4.6984)
Luminance0.2256 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668F1D #461D8F
analogous
#8F7F1D #668F1D #2D8F1D
triadic
#668F1D #1D668F #8F1D66
tetradic
#668F1D #1D8F7F #461D8F #8F1D2D
square
#668F1D #1D8F7F #461D8F #8F1D2D
split-complementary
#668F1D #1D2D8F #7F1D8F
monochromatic
#1D2908 #425C13 #668F1D #8AC227 #A7DB4C

Accessibility & contrast

On white

3.81
#668F1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#668F1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668F1D
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668F1D#FFFFFF#000000##000000
##668F1D1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#918229
Tritanopia (blue-blind)
#6A887A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #668f1d;
/* rgb */ color: rgb(102, 143, 29);
/* oklch */ color: oklch(59.8% 0.145 128.1);
Tailwind
colors: {
  custom: {
    50: '#96b063',
    500: '#668f1d',
    950: '#000000',
  },
}
SCSS
$custom: #668f1d;
$custom-light: #96b063;
$custom-dark: #000000;
JSON
{
  "hex": "#668f1d",
  "rgb": {
    "r": 102,
    "g": 143,
    "b": 29
  },
  "hsl": {
    "h": 81.579,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59826,
    "c": 0.14466,
    "h": 128.1
  },
  "luminance": 0.22558
}

Semantic roles & 50–950 ramp

primary
#668F1D
secondary
#744BBD
accent
#3FE97C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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