#668A1D#668A1D

#668A1D is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.6% C 0.138 H 126.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#668A1D
RGBrgb(102, 138, 29)
HSLhsl(80, 65%, 33%)
HSVhsv(80, 79%, 54%)
CMYKcmyk(26.1%, 0%, 79%, 45.9%)
CIE-LABlab(53.05, -28.69, 50.14)
CIE-LCHlch(53.05, 57.76, 119.78°)
OKLaboklab(58.55% -0.0828 0.1108)
OKLCHoklch(58.55% 0.138 126.8)
XYZxyz(14.7898, 21.0902, 4.4538)
Luminance0.2109 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668A1D #411D8A
analogous
#8A781D #668A1D #2F8A1D
triadic
#668A1D #1D668A #8A1D66
tetradic
#668A1D #1D8A78 #411D8A #8A1D2F
square
#668A1D #1D8A78 #411D8A #8A1D2F
split-complementary
#668A1D #1D2F8A #781D8A
monochromatic
#1B2508 #415712 #668A1D #8BBD28 #A9D949

Accessibility & contrast

On white

4.02
#668A1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#668A1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668A1D
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668A1D#FFFFFF#000000##000000
##668A1D1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918001
Deuteranopia (green-blind)
#8D7E28
Tritanopia (blue-blind)
#6A8376
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #668a1d;
/* rgb */ color: rgb(102, 138, 29);
/* oklch */ color: oklch(58.6% 0.138 126.8);
Tailwind
colors: {
  custom: {
    50: '#95ac63',
    500: '#668a1d',
    950: '#000000',
  },
}
SCSS
$custom: #668a1d;
$custom-light: #95ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#668a1d",
  "rgb": {
    "r": 102,
    "g": 138,
    "b": 29
  },
  "hsl": {
    "h": 79.817,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58554,
    "c": 0.13829,
    "h": 126.8
  },
  "luminance": 0.2109
}

Semantic roles & 50–950 ramp

primary
#668A1D
secondary
#6E48BB
accent
#40E877
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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