#66811A#66811A

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

Color values

HEX#66811A
RGBrgb(102, 129, 26)
HSLhsl(76, 66%, 30%)
HSVhsv(76, 80%, 51%)
CMYKcmyk(20.9%, 0%, 79.8%, 49.4%)
CIE-LABlab(50.22, -24.43, 48.49)
CIE-LCHlch(50.22, 54.30, 116.74°)
OKLaboklab(56.25% -0.0714 0.1068)
OKLCHoklch(56.25% 0.128 123.8)
XYZxyz(13.5164, 18.5998, 3.8551)
Luminance0.1860 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66811A #351A81
analogous
#81681A #66811A #32811A
triadic
#66811A #1A6681 #811A66
tetradic
#66811A #1A8168 #351A81 #811A32
square
#66811A #1A8168 #351A81 #811A32
split-complementary
#66811A #1A3281 #681A81
monochromatic
#151B05 #3E4E10 #66811A #8EB424 #AFD83D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##66811A#FFFFFF#000000##000000
##66811A1.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)
#897800
Deuteranopia (green-blind)
#857724
Tritanopia (blue-blind)
#6B7A6E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #66811a;
/* rgb */ color: rgb(102, 129, 26);
/* oklch */ color: oklch(56.3% 0.128 123.8);
Tailwind
colors: {
  custom: {
    50: '#95a560',
    500: '#66811a',
    950: '#000000',
  },
}
SCSS
$custom: #66811a;
$custom-light: #95a560;
$custom-dark: #000000;
JSON
{
  "hex": "#66811a",
  "rgb": {
    "r": 102,
    "g": 129,
    "b": 26
  },
  "hsl": {
    "h": 75.728,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.56253,
    "c": 0.12846,
    "h": 123.8
  },
  "luminance": 0.186
}

Semantic roles & 50–950 ramp

primary
#66811A
secondary
#6042B5
accent
#3EE96B
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #66811A

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

Preview Lab → · Contrast checker → · Palette generator →

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