#66871D#66871D

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

Color values

HEX#66871D
RGBrgb(102, 135, 29)
HSLhsl(79, 65%, 32%)
HSVhsv(79, 79%, 53%)
CMYKcmyk(24.4%, 0%, 78.5%, 47.1%)
CIE-LABlab(52.11, -27.24, 49.26)
CIE-LCHlch(52.11, 56.29, 118.94°)
OKLaboklab(57.79% -0.0789 0.1089)
OKLCHoklch(57.79% 0.134 125.9)
XYZxyz(14.3653, 20.2412, 4.3123)
Luminance0.2024 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66871D #3E1D87
analogous
#87731D #66871D #31871D
triadic
#66871D #1D6687 #871D66
tetradic
#66871D #1D8773 #3E1D87 #871D31
square
#66871D #1D8773 #3E1D87 #871D31
split-complementary
#66871D #1D3187 #731D87
monochromatic
#1A2207 #405512 #66871D #8CB928 #AAD747

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##66871D#FFFFFF#000000##000000
##66871D1.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)
#8F7E02
Deuteranopia (green-blind)
#8A7C27
Tritanopia (blue-blind)
#6B8073
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #66871d;
/* rgb */ color: rgb(102, 135, 29);
/* oklch */ color: oklch(57.8% 0.134 125.9);
Tailwind
colors: {
  custom: {
    50: '#95aa62',
    500: '#66871d',
    950: '#000000',
  },
}
SCSS
$custom: #66871d;
$custom-light: #95aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#66871d",
  "rgb": {
    "r": 102,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 78.679,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57792,
    "c": 0.13446,
    "h": 125.9
  },
  "luminance": 0.20241
}

Semantic roles & 50–950 ramp

primary
#66871D
secondary
#6A46B9
accent
#40E874
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #66871D

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

Preview Lab → · Contrast checker → · Palette generator →

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