#66842A#66842A

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

Color values

HEX#66842A
RGBrgb(102, 132, 42)
HSLhsl(80, 52%, 34%)
HSVhsv(80, 68%, 52%)
CMYKcmyk(22.7%, 0%, 68.2%, 48.2%)
CIE-LABlab(51.26, -24.93, 43.37)
CIE-LCHlch(51.26, 50.02, 119.89°)
OKLaboklab(57.13% -0.0714 0.0986)
OKLCHoklch(57.13% 0.122 125.9)
XYZxyz(14.1487, 19.4943, 5.2074)
Luminance0.1949 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66842A #482A84
analogous
#84752A #66842A #39842A
triadic
#66842A #2A6684 #842A66
tetradic
#66842A #2A8475 #482A84 #842A39
square
#66842A #2A8475 #482A84 #842A39
split-complementary
#66842A #2A3984 #752A84
monochromatic
#1E270C #42561B #66842A #8AB239 #A7CB5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##66842A#FFFFFF#000000##000000
##66842A1.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)
#8B7B1E
Deuteranopia (green-blind)
#877A31
Tritanopia (blue-blind)
#6A7E72
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #66842a;
/* rgb */ color: rgb(102, 132, 42);
/* oklch */ color: oklch(57.1% 0.122 125.9);
Tailwind
colors: {
  custom: {
    50: '#94a869',
    500: '#66842a',
    950: '#000000',
  },
}
SCSS
$custom: #66842a;
$custom-light: #94a869;
$custom-dark: #000000;
JSON
{
  "hex": "#66842a",
  "rgb": {
    "r": 102,
    "g": 132,
    "b": 42
  },
  "hsl": {
    "h": 80,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57133,
    "c": 0.12176,
    "h": 125.9
  },
  "luminance": 0.19494
}

Semantic roles & 50–950 ramp

primary
#66842A
secondary
#7659B1
accent
#4DDB7C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #66842A

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

Preview Lab → · Contrast checker → · Palette generator →

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