#66821F#66821F

#66821F 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#66821F
RGBrgb(102, 130, 31)
HSLhsl(77, 61%, 32%)
HSVhsv(77, 76%, 51%)
CMYKcmyk(21.5%, 0%, 76.2%, 49%)
CIE-LABlab(50.56, -24.66, 47.07)
CIE-LCHlch(50.56, 53.14, 117.65°)
OKLaboklab(56.54% -0.0717 0.1047)
OKLCHoklch(56.54% 0.127 124.4)
XYZxyz(13.7096, 18.8888, 4.2197)
Luminance0.1889 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66821F #3B1F82
analogous
#826D1F #66821F #34821F
triadic
#66821F #1F6682 #821F66
tetradic
#66821F #1F826D #3B1F82 #821F34
square
#66821F #1F826D #3B1F82 #821F34
split-complementary
#66821F #1F3482 #6D1F82
monochromatic
#181F07 #3F5113 #66821F #8DB32B #ACD348

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##66821F#FFFFFF#000000##000000
##66821F1.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)
#8A790A
Deuteranopia (green-blind)
#867828
Tritanopia (blue-blind)
#6B7B6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #66821f;
/* rgb */ color: rgb(102, 130, 31);
/* oklch */ color: oklch(56.5% 0.127 124.4);
Tailwind
colors: {
  custom: {
    50: '#95a662',
    500: '#66821f',
    950: '#000000',
  },
}
SCSS
$custom: #66821f;
$custom-light: #95a662;
$custom-dark: #000000;
JSON
{
  "hex": "#66821f",
  "rgb": {
    "r": 102,
    "g": 130,
    "b": 31
  },
  "hsl": {
    "h": 76.97,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56538,
    "c": 0.12684,
    "h": 124.4
  },
  "luminance": 0.18889
}

Semantic roles & 50–950 ramp

primary
#66821F
secondary
#6748B5
accent
#43E571
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #66821F

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

Preview Lab → · Contrast checker → · Palette generator →

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