#66851F#66851F

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

Color values

HEX#66851F
RGBrgb(102, 133, 31)
HSLhsl(78, 62%, 32%)
HSVhsv(78, 77%, 52%)
CMYKcmyk(23.3%, 0%, 76.7%, 47.8%)
CIE-LABlab(51.49, -26.15, 47.97)
CIE-LCHlch(51.49, 54.64, 118.59°)
OKLaboklab(57.3% -0.0757 0.1065)
OKLCHoklch(57.3% 0.131 125.4)
XYZxyz(14.1144, 19.6986, 4.3547)
Luminance0.1970 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66851F #3E1F85
analogous
#85711F #66851F #33851F
triadic
#66851F #1F6685 #851F66
tetradic
#66851F #1F8571 #3E1F85 #851F33
square
#66851F #1F8571 #3E1F85 #851F33
split-complementary
#66851F #1F3385 #711F85
monochromatic
#1A2208 #405313 #66851F #8CB72B #AAD54A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##66851F#FFFFFF#000000##000000
##66851F1.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)
#8D7C09
Deuteranopia (green-blind)
#887A29
Tritanopia (blue-blind)
#6B7E72
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #66851f;
/* rgb */ color: rgb(102, 133, 31);
/* oklch */ color: oklch(57.3% 0.131 125.4);
Tailwind
colors: {
  custom: {
    50: '#95a863',
    500: '#66851f',
    950: '#000000',
  },
}
SCSS
$custom: #66851f;
$custom-light: #95a863;
$custom-dark: #000000;
JSON
{
  "hex": "#66851f",
  "rgb": {
    "r": 102,
    "g": 133,
    "b": 31
  },
  "hsl": {
    "h": 78.235,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57298,
    "c": 0.13072,
    "h": 125.4
  },
  "luminance": 0.19699
}

Semantic roles & 50–950 ramp

primary
#66851F
secondary
#6A49B7
accent
#43E574
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #66851F

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

Preview Lab → · Contrast checker → · Palette generator →

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