#668A1C#668A1C

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

Color values

HEX#668A1C
RGBrgb(102, 138, 28)
HSLhsl(80, 66%, 33%)
HSVhsv(80, 80%, 54%)
CMYKcmyk(26.1%, 0%, 79.7%, 45.9%)
CIE-LABlab(53.04, -28.74, 50.46)
CIE-LCHlch(53.04, 58.07, 119.66°)
OKLaboklab(58.55% -0.083 0.1113)
OKLCHoklch(58.55% 0.139 126.7)
XYZxyz(14.7776, 21.0853, 4.3897)
Luminance0.2109 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668A1C #401C8A
analogous
#8A771C #668A1C #2F8A1C
triadic
#668A1C #1C668A #8A1C66
tetradic
#668A1C #1C8A77 #401C8A #8A1C2F
square
#668A1C #1C8A77 #401C8A #8A1C2F
split-complementary
#668A1C #1C2F8A #771C8A
monochromatic
#1B2407 #405712 #668A1C #8CBD26 #AADA47

Accessibility & contrast

On white

4.03
#668A1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##668A1C#FFFFFF#000000##000000
##668A1C1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #668a1c;
/* rgb */ color: rgb(102, 138, 28);
/* oklch */ color: oklch(58.5% 0.139 126.7);
Tailwind
colors: {
  custom: {
    50: '#95ac62',
    500: '#668a1c',
    950: '#000000',
  },
}
SCSS
$custom: #668a1c;
$custom-light: #95ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#668a1c",
  "rgb": {
    "r": 102,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 79.636,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58548,
    "c": 0.13883,
    "h": 126.7
  },
  "luminance": 0.21086
}

Semantic roles & 50–950 ramp

primary
#668A1C
secondary
#6D46BB
accent
#3FE976
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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