#66872D#66872D

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

Color values

HEX#66872D
RGBrgb(102, 135, 45)
HSLhsl(82, 50%, 35%)
HSVhsv(82, 67%, 53%)
CMYKcmyk(24.4%, 0%, 66.7%, 47.1%)
CIE-LABlab(52.22, -26.18, 43.08)
CIE-LCHlch(52.22, 50.41, 121.29°)
OKLaboklab(57.92% -0.0745 0.0985)
OKLCHoklch(57.92% 0.123 127.1)
XYZxyz(14.6171, 20.3419, 5.6384)
Luminance0.2034 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66872D #4E2D87
analogous
#877B2D #66872D #39872D
triadic
#66872D #2D6687 #872D66
tetradic
#66872D #2D877B #4E2D87 #872D39
square
#66872D #2D877B #4E2D87 #872D39
split-complementary
#66872D #2D3987 #7B2D87
monochromatic
#212B0E #43591E #66872D #89B53C #A5CB63

Accessibility & contrast

On white

4.14
#66872D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#66872D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #66872D
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66872D#FFFFFF#000000##000000
##66872D1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E21
Deuteranopia (green-blind)
#897C34
Tritanopia (blue-blind)
#6A8174
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #66872d;
/* rgb */ color: rgb(102, 135, 45);
/* oklch */ color: oklch(57.9% 0.123 127.1);
Tailwind
colors: {
  custom: {
    50: '#94aa6b',
    500: '#66872d',
    950: '#000000',
  },
}
SCSS
$custom: #66872d;
$custom-light: #94aa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#66872d",
  "rgb": {
    "r": 102,
    "g": 135,
    "b": 45
  },
  "hsl": {
    "h": 82,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57919,
    "c": 0.12349,
    "h": 127.1
  },
  "luminance": 0.20342
}

Semantic roles & 50–950 ramp

primary
#66872D
secondary
#7D5EB2
accent
#4EDA81
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #66872D

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

Preview Lab → · Contrast checker → · Palette generator →

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