#66851B#66851B

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

Color values

HEX#66851B
RGBrgb(102, 133, 27)
HSLhsl(78, 66%, 31%)
HSVhsv(78, 80%, 52%)
CMYKcmyk(23.3%, 0%, 79.7%, 47.8%)
CIE-LABlab(51.47, -26.36, 49.33)
CIE-LCHlch(51.47, 55.93, 118.12°)
OKLaboklab(57.27% -0.0766 0.1087)
OKLCHoklch(57.27% 0.133 125.2)
XYZxyz(14.0650, 19.6788, 4.0941)
Luminance0.1968 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66851B #3A1B85
analogous
#856F1B #66851B #31851B
triadic
#66851B #1B6685 #851B66
tetradic
#66851B #1B856F #3A1B85 #851B31
square
#66851B #1B856F #3A1B85 #851B31
split-complementary
#66851B #1B3185 #6F1B85
monochromatic
#181F06 #3F5211 #66851B #8DB825 #ACD942

Accessibility & contrast

On white

4.25
#66851B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#66851B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #66851B
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66851B#FFFFFF#000000##000000
##66851B1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #66851b;
/* rgb */ color: rgb(102, 133, 27);
/* oklch */ color: oklch(57.3% 0.133 125.2);
Tailwind
colors: {
  custom: {
    50: '#95a861',
    500: '#66851b',
    950: '#000000',
  },
}
SCSS
$custom: #66851b;
$custom-light: #95a861;
$custom-dark: #000000;
JSON
{
  "hex": "#66851b",
  "rgb": {
    "r": 102,
    "g": 133,
    "b": 27
  },
  "hsl": {
    "h": 77.547,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57272,
    "c": 0.133,
    "h": 125.2
  },
  "luminance": 0.19679
}

Semantic roles & 50–950 ramp

primary
#66851B
secondary
#6644B8
accent
#3FE971
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #66851B

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

Preview Lab → · Contrast checker → · Palette generator →

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