#66871A#66871A

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

Color values

HEX#66871A
RGBrgb(102, 135, 26)
HSLhsl(78, 68%, 32%)
HSVhsv(78, 81%, 53%)
CMYKcmyk(24.4%, 0%, 80.7%, 47.1%)
CIE-LABlab(52.09, -27.39, 50.22)
CIE-LCHlch(52.09, 57.21, 118.60°)
OKLaboklab(57.77% -0.0795 0.1104)
OKLCHoklch(57.77% 0.136 125.8)
XYZxyz(14.3300, 20.2271, 4.1263)
Luminance0.2023 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66871A #3B1A87
analogous
#87721A #66871A #30871A
triadic
#66871A #1A6687 #871A66
tetradic
#66871A #1A8772 #3B1A87 #871A30
square
#66871A #1A8772 #3B1A87 #871A30
split-complementary
#66871A #1A3087 #721A87
monochromatic
#182006 #3F5410 #66871A #8DBA24 #ACDA41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##66871A#FFFFFF#000000##000000
##66871A1.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)
#8F7D00
Deuteranopia (green-blind)
#8A7C25
Tritanopia (blue-blind)
#6B8073
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #66871a;
/* rgb */ color: rgb(102, 135, 26);
/* oklch */ color: oklch(57.8% 0.136 125.8);
Tailwind
colors: {
  custom: {
    50: '#95aa61',
    500: '#66871a',
    950: '#000000',
  },
}
SCSS
$custom: #66871a;
$custom-light: #95aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#66871a",
  "rgb": {
    "r": 102,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 78.165,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57774,
    "c": 0.13607,
    "h": 125.8
  },
  "luminance": 0.20227
}

Semantic roles & 50–950 ramp

primary
#66871A
secondary
#6742BA
accent
#3DEB72
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #66871A

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

Preview Lab → · Contrast checker → · Palette generator →

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