#66821B#66821B

#66821B 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#66821B
RGBrgb(102, 130, 27)
HSLhsl(76, 66%, 31%)
HSVhsv(76, 79%, 51%)
CMYKcmyk(21.5%, 0%, 79.2%, 49%)
CIE-LABlab(50.53, -24.88, 48.45)
CIE-LCHlch(50.53, 54.47, 117.18°)
OKLaboklab(56.51% -0.0726 0.1069)
OKLCHoklch(56.51% 0.129 124.2)
XYZxyz(13.6601, 18.8691, 3.9591)
Luminance0.1887 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66821B #371B82
analogous
#826A1B #66821B #32821B
triadic
#66821B #1B6682 #821B66
tetradic
#66821B #1B826A #371B82 #821B32
square
#66821B #1B826A #371B82 #821B32
split-complementary
#66821B #1B3282 #6A1B82
monochromatic
#161D06 #3E4F10 #66821B #8EB526 #AED740

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##66821B#FFFFFF#000000##000000
##66821B1.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)
#8A7901
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#6B7B6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #66821b;
/* rgb */ color: rgb(102, 130, 27);
/* oklch */ color: oklch(56.5% 0.129 124.2);
Tailwind
colors: {
  custom: {
    50: '#95a661',
    500: '#66821b',
    950: '#000000',
  },
}
SCSS
$custom: #66821b;
$custom-light: #95a661;
$custom-dark: #000000;
JSON
{
  "hex": "#66821b",
  "rgb": {
    "r": 102,
    "g": 130,
    "b": 27
  },
  "hsl": {
    "h": 76.311,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56512,
    "c": 0.12919,
    "h": 124.2
  },
  "luminance": 0.18869
}

Semantic roles & 50–950 ramp

primary
#66821B
secondary
#6243B6
accent
#3FE96D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #66821B

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

Preview Lab → · Contrast checker → · Palette generator →

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