#66872A#66872A

#66872A is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.9% C 0.126 H 126.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#66872A
RGBrgb(102, 135, 42)
HSLhsl(81, 53%, 35%)
HSVhsv(81, 69%, 53%)
CMYKcmyk(24.4%, 0%, 68.9%, 47.1%)
CIE-LABlab(52.20, -26.41, 44.35)
CIE-LCHlch(52.20, 51.62, 120.77°)
OKLaboklab(57.89% -0.0755 0.1007)
OKLCHoklch(57.89% 0.126 126.8)
XYZxyz(14.5614, 20.3196, 5.3450)
Luminance0.2032 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66872A #4B2A87
analogous
#87792A #66872A #38872A
triadic
#66872A #2A6687 #872A66
tetradic
#66872A #2A8779 #4B2A87 #872A38
square
#66872A #2A8779 #4B2A87 #872A38
split-complementary
#66872A #2A3887 #792A87
monochromatic
#1F2A0D #43581B #66872A #89B639 #A6CD5E

Accessibility & contrast

On white

4.15
#66872A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#66872A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #66872A
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66872A#FFFFFF#000000##000000
##66872A1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1D
Deuteranopia (green-blind)
#897C31
Tritanopia (blue-blind)
#6A8174
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #66872a;
/* rgb */ color: rgb(102, 135, 42);
/* oklch */ color: oklch(57.9% 0.126 126.8);
Tailwind
colors: {
  custom: {
    50: '#94aa69',
    500: '#66872a',
    950: '#000000',
  },
}
SCSS
$custom: #66872a;
$custom-light: #94aa69;
$custom-dark: #000000;
JSON
{
  "hex": "#66872a",
  "rgb": {
    "r": 102,
    "g": 135,
    "b": 42
  },
  "hsl": {
    "h": 81.29,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57891,
    "c": 0.12584,
    "h": 126.8
  },
  "luminance": 0.2032
}

Semantic roles & 50–950 ramp

primary
#66872A
secondary
#7A5AB3
accent
#4CDC7F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #66872A

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

Preview Lab → · Contrast checker → · Palette generator →

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