#66871E#66871E

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

Color values

HEX#66871E
RGBrgb(102, 135, 30)
HSLhsl(79, 64%, 32%)
HSVhsv(79, 78%, 53%)
CMYKcmyk(24.4%, 0%, 77.8%, 47.1%)
CIE-LABlab(52.11, -27.18, 48.92)
CIE-LCHlch(52.11, 55.96, 119.06°)
OKLaboklab(57.8% -0.0786 0.1084)
OKLCHoklch(57.8% 0.134 126)
XYZxyz(14.3779, 20.2462, 4.3785)
Luminance0.2025 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66871E #3F1E87
analogous
#87731E #66871E #32871E
triadic
#66871E #1E6687 #871E66
tetradic
#66871E #1E8773 #3F1E87 #871E32
square
#66871E #1E8773 #3F1E87 #871E32
split-complementary
#66871E #1E3287 #731E87
monochromatic
#1A2308 #405513 #66871E #8CB929 #AAD749

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##66871E#FFFFFF#000000##000000
##66871E1.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)
#8F7E05
Deuteranopia (green-blind)
#8A7C28
Tritanopia (blue-blind)
#6B8073
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #66871e;
/* rgb */ color: rgb(102, 135, 30);
/* oklch */ color: oklch(57.8% 0.134 126.0);
Tailwind
colors: {
  custom: {
    50: '#95aa63',
    500: '#66871e',
    950: '#000000',
  },
}
SCSS
$custom: #66871e;
$custom-light: #95aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#66871e",
  "rgb": {
    "r": 102,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 78.857,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57798,
    "c": 0.13389,
    "h": 126
  },
  "luminance": 0.20246
}

Semantic roles & 50–950 ramp

primary
#66871E
secondary
#6B48B9
accent
#41E775
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #66871E

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

Preview Lab → · Contrast checker → · Palette generator →

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