#668D1C#668D1C

#668D1C 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#668D1C
RGBrgb(102, 141, 28)
HSLhsl(81, 67%, 33%)
HSVhsv(81, 80%, 55%)
CMYKcmyk(27.7%, 0%, 80.1%, 44.7%)
CIE-LABlab(53.98, -30.17, 51.33)
CIE-LCHlch(53.98, 59.54, 120.44°)
OKLaboklab(59.31% -0.0869 0.1131)
OKLCHoklch(59.31% 0.143 127.5)
XYZxyz(15.2140, 21.9580, 4.5351)
Luminance0.2196 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668D1C #431C8D
analogous
#8D7B1C #668D1C #2D8D1C
triadic
#668D1C #1C668D #8D1C66
tetradic
#668D1C #1C8D7B #431C8D #8D1C2D
square
#668D1C #1C8D7B #431C8D #8D1C2D
split-complementary
#668D1C #1C2D8D #7B1C8D
monochromatic
#1C2708 #415A12 #668D1C #8BC026 #A8DB49

Accessibility & contrast

On white

3.89
#668D1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##668D1C#FFFFFF#000000##000000
##668D1C1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #668d1c;
/* rgb */ color: rgb(102, 141, 28);
/* oklch */ color: oklch(59.3% 0.143 127.5);
Tailwind
colors: {
  custom: {
    50: '#95ae63',
    500: '#668d1c',
    950: '#000000',
  },
}
SCSS
$custom: #668d1c;
$custom-light: #95ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#668d1c",
  "rgb": {
    "r": 102,
    "g": 141,
    "b": 28
  },
  "hsl": {
    "h": 80.708,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.59311,
    "c": 0.14264,
    "h": 127.5
  },
  "luminance": 0.21958
}

Semantic roles & 50–950 ramp

primary
#668D1C
secondary
#7048BD
accent
#3EEA79
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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