#66841B#66841B

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

Color values

HEX#66841B
RGBrgb(102, 132, 27)
HSLhsl(77, 66%, 31%)
HSVhsv(77, 80%, 52%)
CMYKcmyk(22.7%, 0%, 79.5%, 48.2%)
CIE-LABlab(51.16, -25.87, 49.04)
CIE-LCHlch(51.16, 55.44, 117.81°)
OKLaboklab(57.02% -0.0753 0.1081)
OKLCHoklch(57.02% 0.132 124.9)
XYZxyz(13.9287, 19.4063, 4.0487)
Luminance0.1941 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66841B #391B84
analogous
#846D1B #66841B #31841B
triadic
#66841B #1B6684 #841B66
tetradic
#66841B #1B846D #391B84 #841B31
square
#66841B #1B846D #391B84 #841B31
split-complementary
#66841B #1B3184 #6D1B84
monochromatic
#171E06 #3F5111 #66841B #8DB725 #ADD841

Accessibility & contrast

On white

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

On black

4.88
#66841B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #66841B
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66841B#FFFFFF#000000##000000
##66841B1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#887A26
Tritanopia (blue-blind)
#6B7D70
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #66841b;
/* rgb */ color: rgb(102, 132, 27);
/* oklch */ color: oklch(57.0% 0.132 124.9);
Tailwind
colors: {
  custom: {
    50: '#95a861',
    500: '#66841b',
    950: '#000000',
  },
}
SCSS
$custom: #66841b;
$custom-light: #95a861;
$custom-dark: #000000;
JSON
{
  "hex": "#66841b",
  "rgb": {
    "r": 102,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 77.143,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57019,
    "c": 0.13173,
    "h": 124.9
  },
  "luminance": 0.19406
}

Semantic roles & 50–950 ramp

primary
#66841B
secondary
#6543B7
accent
#3FE96F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #66841B

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

Preview Lab → · Contrast checker → · Palette generator →

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