#66811B#66811B

#66811B 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#66811B
RGBrgb(102, 129, 27)
HSLhsl(76, 65%, 31%)
HSVhsv(76, 79%, 51%)
CMYKcmyk(20.9%, 0%, 79.1%, 49.4%)
CIE-LABlab(50.22, -24.38, 48.16)
CIE-LCHlch(50.22, 53.98, 116.85°)
OKLaboklab(56.26% -0.0712 0.1063)
OKLCHoklch(56.26% 0.128 123.8)
XYZxyz(13.5277, 18.6043, 3.9150)
Luminance0.1860 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66811B #361B81
analogous
#81691B #66811B #33811B
triadic
#66811B #1B6681 #811B66
tetradic
#66811B #1B8169 #361B81 #811B33
square
#66811B #1B8169 #361B81 #811B33
split-complementary
#66811B #1B3381 #691B81
monochromatic
#161C06 #3E4E10 #66811B #8EB426 #AFD73F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##66811B#FFFFFF#000000##000000
##66811B1.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)
#897801
Deuteranopia (green-blind)
#857725
Tritanopia (blue-blind)
#6B7A6E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #66811b;
/* rgb */ color: rgb(102, 129, 27);
/* oklch */ color: oklch(56.3% 0.128 123.8);
Tailwind
colors: {
  custom: {
    50: '#95a560',
    500: '#66811b',
    950: '#000000',
  },
}
SCSS
$custom: #66811b;
$custom-light: #95a560;
$custom-dark: #000000;
JSON
{
  "hex": "#66811b",
  "rgb": {
    "r": 102,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 75.882,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.56259,
    "c": 0.12792,
    "h": 123.8
  },
  "luminance": 0.18604
}

Semantic roles & 50–950 ramp

primary
#66811B
secondary
#6143B5
accent
#3FE86C
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #66811B

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

Preview Lab → · Contrast checker → · Palette generator →

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