#66821C#66821C

#66821C is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.5% C 0.129 H 124.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#66821C
RGBrgb(102, 130, 28)
HSLhsl(76, 65%, 31%)
HSVhsv(76, 78%, 51%)
CMYKcmyk(21.5%, 0%, 78.5%, 49%)
CIE-LABlab(50.54, -24.83, 48.12)
CIE-LCHlch(50.54, 54.15, 117.29°)
OKLaboklab(56.52% -0.0724 0.1063)
OKLCHoklch(56.52% 0.129 124.2)
XYZxyz(13.6719, 18.8738, 4.0211)
Luminance0.1887 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66821C #381C82
analogous
#826B1C #66821C #33821C
triadic
#66821C #1C6682 #821C66
tetradic
#66821C #1C826B #381C82 #821C33
square
#66821C #1C826B #381C82 #821C33
split-complementary
#66821C #1C3382 #6B1C82
monochromatic
#171D06 #3E5011 #66821C #8EB427 #AED642

Accessibility & contrast

On white

4.40
#66821C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#66821C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #66821C
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66821C#FFFFFF#000000##000000
##66821C1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7903
Deuteranopia (green-blind)
#867826
Tritanopia (blue-blind)
#6B7B6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #66821c;
/* rgb */ color: rgb(102, 130, 28);
/* oklch */ color: oklch(56.5% 0.129 124.2);
Tailwind
colors: {
  custom: {
    50: '#95a661',
    500: '#66821c',
    950: '#000000',
  },
}
SCSS
$custom: #66821c;
$custom-light: #95a661;
$custom-dark: #000000;
JSON
{
  "hex": "#66821c",
  "rgb": {
    "r": 102,
    "g": 130,
    "b": 28
  },
  "hsl": {
    "h": 76.471,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56518,
    "c": 0.12863,
    "h": 124.2
  },
  "luminance": 0.18874
}

Semantic roles & 50–950 ramp

primary
#66821C
secondary
#6344B5
accent
#40E86E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #66821C

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

Preview Lab → · Contrast checker → · Palette generator →

#66821C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva