#668C1B#668C1B

#668C1B is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 59.1% C 0.142 H 127.2°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#668C1B
RGBrgb(102, 140, 27)
HSLhsl(80, 68%, 33%)
HSVhsv(80, 81%, 55%)
CMYKcmyk(27.1%, 0%, 80.7%, 45.1%)
CIE-LABlab(53.66, -29.74, 51.35)
CIE-LCHlch(53.66, 59.34, 120.08°)
OKLaboklab(59.05% -0.0858 0.113)
OKLCHoklch(59.05% 0.142 127.2)
XYZxyz(15.0555, 21.6598, 4.4242)
Luminance0.2166 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668C1B #411B8C
analogous
#8C791B #668C1B #2D8C1B
triadic
#668C1B #1B668C #8C1B66
tetradic
#668C1B #1B8C79 #411B8C #8C1B2D
square
#668C1B #1B8C79 #411B8C #8C1B2D
split-complementary
#668C1B #1B2D8C #791B8C
monochromatic
#1B2507 #415911 #668C1B #8BBF25 #A9DB46

Accessibility & contrast

On white

3.94
#668C1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#668C1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668C1B
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668C1B#FFFFFF#000000##000000
##668C1B1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8E8027
Tritanopia (blue-blind)
#6A8577
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #668c1b;
/* rgb */ color: rgb(102, 140, 27);
/* oklch */ color: oklch(59.1% 0.142 127.2);
Tailwind
colors: {
  custom: {
    50: '#95ad62',
    500: '#668c1b',
    950: '#000000',
  },
}
SCSS
$custom: #668c1b;
$custom-light: #95ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#668c1b",
  "rgb": {
    "r": 102,
    "g": 140,
    "b": 27
  },
  "hsl": {
    "h": 80.177,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59051,
    "c": 0.14188,
    "h": 127.2
  },
  "luminance": 0.2166
}

Semantic roles & 50–950 ramp

primary
#668C1B
secondary
#6E46BD
accent
#3DEB78
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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