#66821E#66821E

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

Color values

HEX#66821E
RGBrgb(102, 130, 30)
HSLhsl(77, 63%, 31%)
HSVhsv(77, 77%, 51%)
CMYKcmyk(21.5%, 0%, 76.9%, 49%)
CIE-LABlab(50.55, -24.72, 47.43)
CIE-LCHlch(50.55, 53.48, 117.53°)
OKLaboklab(56.53% -0.0719 0.1052)
OKLCHoklch(56.53% 0.127 124.4)
XYZxyz(13.6966, 18.8837, 4.1514)
Luminance0.1888 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66821E #3A1E82
analogous
#826C1E #66821E #34821E
triadic
#66821E #1E6682 #821E66
tetradic
#66821E #1E826C #3A1E82 #821E34
square
#66821E #1E826C #3A1E82 #821E34
split-complementary
#66821E #1E3482 #6C1E82
monochromatic
#181F07 #3F5013 #66821E #8DB429 #ACD446

Accessibility & contrast

On white

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

On black

4.78
#66821E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #66821E
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66821E#FFFFFF#000000##000000
##66821E1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #66821e;
/* rgb */ color: rgb(102, 130, 30);
/* oklch */ color: oklch(56.5% 0.127 124.4);
Tailwind
colors: {
  custom: {
    50: '#95a662',
    500: '#66821e',
    950: '#000000',
  },
}
SCSS
$custom: #66821e;
$custom-light: #95a662;
$custom-dark: #000000;
JSON
{
  "hex": "#66821e",
  "rgb": {
    "r": 102,
    "g": 130,
    "b": 30
  },
  "hsl": {
    "h": 76.8,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56531,
    "c": 0.12745,
    "h": 124.4
  },
  "luminance": 0.18884
}

Semantic roles & 50–950 ramp

primary
#66821E
secondary
#6647B5
accent
#42E670
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #66821E

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

Preview Lab → · Contrast checker → · Palette generator →

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