#668D1B#668D1B

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

Color values

HEX#668D1B
RGBrgb(102, 141, 27)
HSLhsl(81, 68%, 33%)
HSVhsv(81, 81%, 55%)
CMYKcmyk(27.7%, 0%, 80.9%, 44.7%)
CIE-LABlab(53.98, -30.22, 51.64)
CIE-LCHlch(53.98, 59.83, 120.33°)
OKLaboklab(59.31% -0.0871 0.1136)
OKLCHoklch(59.31% 0.143 127.5)
XYZxyz(15.2022, 21.9533, 4.4732)
Luminance0.2195 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668D1B #421B8D
analogous
#8D7B1B #668D1B #2D8D1B
triadic
#668D1B #1B668D #8D1B66
tetradic
#668D1B #1B8D7B #421B8D #8D1B2D
square
#668D1B #1B8D7B #421B8D #8D1B2D
split-complementary
#668D1B #1B2D8D #7B1B8D
monochromatic
#1C2607 #415A11 #668D1B #8BC025 #A9DC47

Accessibility & contrast

On white

3.90
#668D1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##668D1B#FFFFFF#000000##000000
##668D1B1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #668d1b;
/* rgb */ color: rgb(102, 141, 27);
/* oklch */ color: oklch(59.3% 0.143 127.5);
Tailwind
colors: {
  custom: {
    50: '#96ae62',
    500: '#668d1b',
    950: '#000000',
  },
}
SCSS
$custom: #668d1b;
$custom-light: #96ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#668d1b",
  "rgb": {
    "r": 102,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 80.526,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59305,
    "c": 0.14314,
    "h": 127.5
  },
  "luminance": 0.21954
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #668D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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