#66811C#66811C

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

Color values

HEX#66811C
RGBrgb(102, 129, 28)
HSLhsl(76, 64%, 31%)
HSVhsv(76, 78%, 51%)
CMYKcmyk(20.9%, 0%, 78.3%, 49.4%)
CIE-LABlab(50.23, -24.33, 47.83)
CIE-LCHlch(50.23, 53.66, 116.96°)
OKLaboklab(56.27% -0.071 0.1057)
OKLCHoklch(56.27% 0.127 123.9)
XYZxyz(13.5395, 18.6090, 3.9770)
Luminance0.1861 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66811C #371C81
analogous
#81691C #66811C #33811C
triadic
#66811C #1C6681 #811C66
tetradic
#66811C #1C8169 #371C81 #811C33
square
#66811C #1C8169 #371C81 #811C33
split-complementary
#66811C #1C3381 #691C81
monochromatic
#161C06 #3E4F11 #66811C #8EB327 #AED642

Accessibility & contrast

On white

4.45
#66811C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##66811C#FFFFFF#000000##000000
##66811C1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897804
Deuteranopia (green-blind)
#857726
Tritanopia (blue-blind)
#6B7A6E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #66811c;
/* rgb */ color: rgb(102, 129, 28);
/* oklch */ color: oklch(56.3% 0.127 123.9);
Tailwind
colors: {
  custom: {
    50: '#95a561',
    500: '#66811c',
    950: '#000000',
  },
}
SCSS
$custom: #66811c;
$custom-light: #95a561;
$custom-dark: #000000;
JSON
{
  "hex": "#66811c",
  "rgb": {
    "r": 102,
    "g": 129,
    "b": 28
  },
  "hsl": {
    "h": 76.04,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56265,
    "c": 0.12735,
    "h": 123.9
  },
  "luminance": 0.18609
}

Semantic roles & 50–950 ramp

primary
#66811C
secondary
#6244B4
accent
#40E76D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #66811C

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

Preview Lab → · Contrast checker → · Palette generator →

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