#66851A#66851A

#66851A is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 57.3% C 0.134 H 125.1°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#66851A
RGBrgb(102, 133, 26)
HSLhsl(77, 67%, 31%)
HSVhsv(77, 80%, 52%)
CMYKcmyk(23.3%, 0%, 80.5%, 47.8%)
CIE-LABlab(51.47, -26.41, 49.65)
CIE-LCHlch(51.47, 56.23, 118.01°)
OKLaboklab(57.27% -0.0768 0.1092)
OKLCHoklch(57.27% 0.134 125.1)
XYZxyz(14.0536, 19.6742, 4.0342)
Luminance0.1967 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66851A #391A85
analogous
#856E1A #66851A #30851A
triadic
#66851A #1A6685 #851A66
tetradic
#66851A #1A856E #391A85 #851A30
square
#66851A #1A856E #391A85 #851A30
split-complementary
#66851A #1A3085 #6E1A85
monochromatic
#171F06 #3F5210 #66851A #8DB824 #ADDA40

Accessibility & contrast

On white

4.26
#66851A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#66851A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #66851A
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66851A#FFFFFF#000000##000000
##66851A1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#897A25
Tritanopia (blue-blind)
#6B7E71
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #66851a;
/* rgb */ color: rgb(102, 133, 26);
/* oklch */ color: oklch(57.3% 0.134 125.1);
Tailwind
colors: {
  custom: {
    50: '#95a861',
    500: '#66851a',
    950: '#000000',
  },
}
SCSS
$custom: #66851a;
$custom-light: #95a861;
$custom-dark: #000000;
JSON
{
  "hex": "#66851a",
  "rgb": {
    "r": 102,
    "g": 133,
    "b": 26
  },
  "hsl": {
    "h": 77.383,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57266,
    "c": 0.13353,
    "h": 125.1
  },
  "luminance": 0.19674
}

Semantic roles & 50–950 ramp

primary
#66851A
secondary
#6542B8
accent
#3EEA70
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #66851A

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

Preview Lab → · Contrast checker → · Palette generator →

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