#66811F#66811F

#66811F is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 56.3% C 0.126 H 124.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#66811F
RGBrgb(102, 129, 31)
HSLhsl(77, 61%, 31%)
HSVhsv(77, 76%, 51%)
CMYKcmyk(20.9%, 0%, 76%, 49.4%)
CIE-LABlab(50.24, -24.16, 46.77)
CIE-LCHlch(50.24, 52.64, 117.32°)
OKLaboklab(56.29% -0.0703 0.104)
OKLCHoklch(56.29% 0.126 124.1)
XYZxyz(13.5772, 18.6241, 4.1756)
Luminance0.1862 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66811F #3A1F81
analogous
#816B1F #66811F #35811F
triadic
#66811F #1F6681 #811F66
tetradic
#66811F #1F816B #3A1F81 #811F35
square
#66811F #1F816B #3A1F81 #811F35
split-complementary
#66811F #1F3581 #6B1F81
monochromatic
#181E07 #3F5013 #66811F #8DB22B #ACD347

Accessibility & contrast

On white

4.44
#66811F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#66811F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #66811F
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66811F#FFFFFF#000000##000000
##66811F1.004.444.724.72
#FFFFFF4.441.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89780B
Deuteranopia (green-blind)
#857728
Tritanopia (blue-blind)
#6B7A6E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #66811f;
/* rgb */ color: rgb(102, 129, 31);
/* oklch */ color: oklch(56.3% 0.126 124.1);
Tailwind
colors: {
  custom: {
    50: '#95a562',
    500: '#66811f',
    950: '#000000',
  },
}
SCSS
$custom: #66811f;
$custom-light: #95a562;
$custom-dark: #000000;
JSON
{
  "hex": "#66811f",
  "rgb": {
    "r": 102,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 76.531,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56286,
    "c": 0.12555,
    "h": 124.1
  },
  "luminance": 0.18624
}

Semantic roles & 50–950 ramp

primary
#66811F
secondary
#6648B4
accent
#43E470
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #66811F

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

Preview Lab → · Contrast checker → · Palette generator →

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