#66A71F#66A71F

#66A71F is a light, vivid yellow-green. Relative luminance 0.306; OKLCH L 66.0% C 0.174 H 132.7°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#66A71F
RGBrgb(102, 167, 31)
HSLhsl(89, 69%, 39%)
HSVhsv(89, 81%, 65%)
CMYKcmyk(38.9%, 0%, 81.4%, 34.5%)
CIE-LABlab(62.13, -41.66, 57.92)
CIE-LCHlch(62.13, 71.35, 125.73°)
OKLaboklab(65.96% -0.1178 0.1275)
OKLCHoklch(65.96% 0.174 132.7)
XYZxyz(19.5453, 30.5602, 6.1649)
Luminance0.3056 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66A71F #601FA7
analogous
#A7A41F #66A71F #22A71F
triadic
#66A71F #1F66A7 #A71F66
tetradic
#66A71F #1FA7A4 #601FA7 #A71F22
square
#66A71F #1FA7A4 #601FA7 #A71F22
split-complementary
#66A71F #1F22A7 #A41FA7
monochromatic
#27400C #467315 #66A71F #85D82B #A3E15F

Accessibility & contrast

On white

2.95
#66A71F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#66A71F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #66A71F
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66A71F#FFFFFF#000000##000000
##66A71F1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#A5942F
Tritanopia (blue-blind)
#67A08E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #66a71f;
/* rgb */ color: rgb(102, 167, 31);
/* oklch */ color: oklch(66.0% 0.174 132.7);
Tailwind
colors: {
  custom: {
    50: '#97c168',
    500: '#66a71f',
    950: '#000000',
  },
}
SCSS
$custom: #66a71f;
$custom-light: #97c168;
$custom-dark: #000000;
JSON
{
  "hex": "#66a71f",
  "rgb": {
    "r": 102,
    "g": 167,
    "b": 31
  },
  "hsl": {
    "h": 88.676,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.65964,
    "c": 0.17352,
    "h": 132.7
  },
  "luminance": 0.30561
}

Semantic roles & 50–950 ramp

primary
#66A71F
secondary
#8F5CC6
accent
#3CEC90
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #66A71F

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

Preview Lab → · Contrast checker → · Palette generator →

#66A71F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva