#66842B#66842B

#66842B is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 57.1% C 0.121 H 126.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#66842B
RGBrgb(102, 132, 43)
HSLhsl(80, 51%, 34%)
HSVhsv(80, 67%, 52%)
CMYKcmyk(22.7%, 0%, 67.4%, 48.2%)
CIE-LABlab(51.27, -24.85, 42.94)
CIE-LCHlch(51.27, 49.61, 120.06°)
OKLaboklab(57.14% -0.0711 0.0979)
OKLCHoklch(57.14% 0.121 126)
XYZxyz(14.1668, 19.5015, 5.3028)
Luminance0.1950 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66842B #492B84
analogous
#84762B #66842B #3A842B
triadic
#66842B #2B6684 #842B66
tetradic
#66842B #2B8476 #492B84 #842B3A
square
#66842B #2B8476 #492B84 #842B3A
split-complementary
#66842B #2B3A84 #762B84
monochromatic
#1F280D #42561C #66842B #8AB23A #A6CB5F

Accessibility & contrast

On white

4.29
#66842B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#66842B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #66842B
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66842B#FFFFFF#000000##000000
##66842B1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1F
Deuteranopia (green-blind)
#877A32
Tritanopia (blue-blind)
#6A7E72
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #66842b;
/* rgb */ color: rgb(102, 132, 43);
/* oklch */ color: oklch(57.1% 0.121 126.0);
Tailwind
colors: {
  custom: {
    50: '#94a869',
    500: '#66842b',
    950: '#000000',
  },
}
SCSS
$custom: #66842b;
$custom-light: #94a869;
$custom-dark: #000000;
JSON
{
  "hex": "#66842b",
  "rgb": {
    "r": 102,
    "g": 132,
    "b": 43
  },
  "hsl": {
    "h": 80.225,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57142,
    "c": 0.12097,
    "h": 126
  },
  "luminance": 0.19502
}

Semantic roles & 50–950 ramp

primary
#66842B
secondary
#775AB1
accent
#4DDA7D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D0F07
muted
#7E7F7A

Preview Lab

Preview with #66842B

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

Preview Lab → · Contrast checker → · Palette generator →

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