#66771B#66771B

#66771B is a mid, moderate yellow-green. Relative luminance 0.161; OKLCH L 53.7% C 0.115 H 119.8°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#66771B
RGBrgb(102, 119, 27)
HSLhsl(71, 63%, 29%)
HSVhsv(71, 77%, 47%)
CMYKcmyk(14.3%, 0%, 77.3%, 53.3%)
CIE-LABlab(47.10, -19.26, 45.22)
CIE-LCHlch(47.10, 49.15, 113.07°)
OKLaboklab(53.74% -0.0572 0.1001)
OKLCHoklch(53.74% 0.115 119.8)
XYZxyz(12.2744, 16.0976, 3.4972)
Luminance0.1610 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66771B #2C1B77
analogous
#775A1B #66771B #38771B
triadic
#66771B #1B6677 #771B66
tetradic
#66771B #1B775A #2C1B77 #771B38
square
#66771B #1B775A #2C1B77 #771B38
split-complementary
#66771B #1B3877 #5A1B77
monochromatic
#151906 #3B4510 #66771B #91A926 #B6D23A

Accessibility & contrast

On white

4.98
#66771B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#66771B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #66771B
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66771B#FFFFFF#000000##FFFFFF
##66771B1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7007
Deuteranopia (green-blind)
#7D7023
Tritanopia (blue-blind)
#6C7066
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #66771b;
/* rgb */ color: rgb(102, 119, 27);
/* oklch */ color: oklch(53.7% 0.115 119.8);
Tailwind
colors: {
  custom: {
    50: '#959e5f',
    500: '#66771b',
    950: '#000000',
  },
}
SCSS
$custom: #66771b;
$custom-light: #959e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#66771b",
  "rgb": {
    "r": 102,
    "g": 119,
    "b": 27
  },
  "hsl": {
    "h": 71.087,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53741,
    "c": 0.11525,
    "h": 119.8
  },
  "luminance": 0.16098
}

Semantic roles & 50–950 ramp

primary
#66771B
secondary
#5642AB
accent
#42E660
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #66771B

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

Preview Lab → · Contrast checker → · Palette generator →

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