#66841F#66841F

#66841F is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 57.0% C 0.129 H 125.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#66841F
RGBrgb(102, 132, 31)
HSLhsl(78, 62%, 32%)
HSVhsv(78, 77%, 52%)
CMYKcmyk(22.7%, 0%, 76.5%, 48.2%)
CIE-LABlab(51.18, -25.66, 47.67)
CIE-LCHlch(51.18, 54.14, 118.29°)
OKLaboklab(57.04% -0.0744 0.1059)
OKLCHoklch(57.04% 0.129 125.1)
XYZxyz(13.9782, 19.4261, 4.3092)
Luminance0.1943 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66841F #3D1F84
analogous
#84701F #66841F #34841F
triadic
#66841F #1F6684 #841F66
tetradic
#66841F #1F8470 #3D1F84 #841F34
square
#66841F #1F8470 #3D1F84 #841F34
split-complementary
#66841F #1F3484 #701F84
monochromatic
#192108 #405213 #66841F #8CB62B #ABD449

Accessibility & contrast

On white

4.30
#66841F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#66841F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #66841F
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66841F#FFFFFF#000000##000000
##66841F1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B09
Deuteranopia (green-blind)
#887A28
Tritanopia (blue-blind)
#6B7D71
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #66841f;
/* rgb */ color: rgb(102, 132, 31);
/* oklch */ color: oklch(57.0% 0.129 125.1);
Tailwind
colors: {
  custom: {
    50: '#95a863',
    500: '#66841f',
    950: '#000000',
  },
}
SCSS
$custom: #66841f;
$custom-light: #95a863;
$custom-dark: #000000;
JSON
{
  "hex": "#66841f",
  "rgb": {
    "r": 102,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 77.822,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57044,
    "c": 0.12942,
    "h": 125.1
  },
  "luminance": 0.19426
}

Semantic roles & 50–950 ramp

primary
#66841F
secondary
#6948B7
accent
#43E573
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #66841F

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

Preview Lab → · Contrast checker → · Palette generator →

#66841F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva