#66781B#66781B

#66781B is a mid, moderate yellow-green. Relative luminance 0.163; OKLCH L 54.0% C 0.117 H 120.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#66781B
RGBrgb(102, 120, 27)
HSLhsl(72, 63%, 29%)
HSVhsv(72, 78%, 47%)
CMYKcmyk(15%, 0%, 77.5%, 52.9%)
CIE-LABlab(47.41, -19.79, 45.52)
CIE-LCHlch(47.41, 49.63, 113.49°)
OKLaboklab(53.99% -0.0586 0.1007)
OKLCHoklch(53.99% 0.117 120.2)
XYZxyz(12.3940, 16.3369, 3.5371)
Luminance0.1634 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66781B #2D1B78
analogous
#785C1B #66781B #38781B
triadic
#66781B #1B6678 #781B66
tetradic
#66781B #1B785C #2D1B78 #781B38
square
#66781B #1B785C #2D1B78 #781B38
split-complementary
#66781B #1B3878 #5C1B78
monochromatic
#151906 #3C4610 #66781B #90AA26 #B5D33B

Accessibility & contrast

On white

4.92
#66781B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#66781B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #66781B
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66781B#FFFFFF#000000##FFFFFF
##66781B1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807107
Deuteranopia (green-blind)
#7E7123
Tritanopia (blue-blind)
#6C7166
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #66781b;
/* rgb */ color: rgb(102, 120, 27);
/* oklch */ color: oklch(54.0% 0.117 120.2);
Tailwind
colors: {
  custom: {
    50: '#959f5f',
    500: '#66781b',
    950: '#000000',
  },
}
SCSS
$custom: #66781b;
$custom-light: #959f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#66781b",
  "rgb": {
    "r": 102,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 71.613,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53992,
    "c": 0.1165,
    "h": 120.2
  },
  "luminance": 0.16337
}

Semantic roles & 50–950 ramp

primary
#66781B
secondary
#5743AC
accent
#41E661
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #66781B

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

Preview Lab → · Contrast checker → · Palette generator →

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