#66AA1F#66AA1F

#66AA1F is a light, vivid yellow-green. Relative luminance 0.317; OKLCH L 66.7% C 0.177 H 133.1°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#66AA1F
RGBrgb(102, 170, 31)
HSLhsl(89, 69%, 39%)
HSVhsv(89, 82%, 67%)
CMYKcmyk(40%, 0%, 81.8%, 33.3%)
CIE-LABlab(63.07, -42.93, 58.77)
CIE-LCHlch(63.07, 72.78, 126.15°)
OKLaboklab(66.73% -0.1211 0.1293)
OKLCHoklch(66.73% 0.177 133.1)
XYZxyz(20.1012, 31.6722, 6.3503)
Luminance0.3167 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66AA1F #631FAA
analogous
#AAA91F #66AA1F #20AA1F
triadic
#66AA1F #1F66AA #AA1F66
tetradic
#66AA1F #1FAAA9 #631FAA #AA1F20
square
#66AA1F #1FAAA9 #631FAA #AA1F20
split-complementary
#66AA1F #1F20AA #A91FAA
monochromatic
#28420C #477616 #66AA1F #85D92D #A3E261

Accessibility & contrast

On white

2.86
#66AA1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#66AA1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #66AA1F
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66AA1F#FFFFFF#000000##000000
##66AA1F1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#A8972F
Tritanopia (blue-blind)
#66A391
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #66aa1f;
/* rgb */ color: rgb(102, 170, 31);
/* oklch */ color: oklch(66.7% 0.177 133.1);
Tailwind
colors: {
  custom: {
    50: '#98c468',
    500: '#66aa1f',
    950: '#000000',
  },
}
SCSS
$custom: #66aa1f;
$custom-light: #98c468;
$custom-dark: #000000;
JSON
{
  "hex": "#66aa1f",
  "rgb": {
    "r": 102,
    "g": 170,
    "b": 31
  },
  "hsl": {
    "h": 89.353,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66731,
    "c": 0.17715,
    "h": 133.1
  },
  "luminance": 0.31673
}

Semantic roles & 50–950 ramp

primary
#66AA1F
secondary
#915EC7
accent
#3CEC92
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #66AA1F

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

Preview Lab → · Contrast checker → · Palette generator →

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