#66871C#66871C

#66871C is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.8% C 0.135 H 125.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#66871C
RGBrgb(102, 135, 28)
HSLhsl(79, 66%, 32%)
HSVhsv(79, 79%, 53%)
CMYKcmyk(24.4%, 0%, 79.3%, 47.1%)
CIE-LABlab(52.10, -27.29, 49.59)
CIE-LCHlch(52.10, 56.60, 118.83°)
OKLaboklab(57.79% -0.0791 0.1094)
OKLCHoklch(57.79% 0.135 125.9)
XYZxyz(14.3532, 20.2363, 4.2482)
Luminance0.2024 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66871C #3D1C87
analogous
#87731C #66871C #30871C
triadic
#66871C #1C6687 #871C66
tetradic
#66871C #1C8773 #3D1C87 #871C30
square
#66871C #1C8773 #3D1C87 #871C30
split-complementary
#66871C #1C3087 #731C87
monochromatic
#192207 #405411 #66871C #8CBA27 #ABD845

Accessibility & contrast

On white

4.16
#66871C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#66871C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #66871C
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66871C#FFFFFF#000000##000000
##66871C1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#8A7C27
Tritanopia (blue-blind)
#6B8073
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #66871c;
/* rgb */ color: rgb(102, 135, 28);
/* oklch */ color: oklch(57.8% 0.135 125.9);
Tailwind
colors: {
  custom: {
    50: '#95aa62',
    500: '#66871c',
    950: '#000000',
  },
}
SCSS
$custom: #66871c;
$custom-light: #95aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#66871c",
  "rgb": {
    "r": 102,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 78.505,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57786,
    "c": 0.13501,
    "h": 125.9
  },
  "luminance": 0.20237
}

Semantic roles & 50–950 ramp

primary
#66871C
secondary
#6945BA
accent
#3FE973
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #66871C

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

Preview Lab → · Contrast checker → · Palette generator →

#66871C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva