#66A228#66A228

#66A228 is a light, vivid yellow-green. Relative luminance 0.288; OKLCH L 64.7% C 0.163 H 132.6°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#66A228
RGBrgb(102, 162, 40)
HSLhsl(90, 60%, 40%)
HSVhsv(90, 75%, 64%)
CMYKcmyk(37%, 0%, 75.3%, 36.5%)
CIE-LABlab(60.62, -39.03, 53.62)
CIE-LCHlch(60.62, 66.32, 126.05°)
OKLaboklab(64.74% -0.11 0.1198)
OKLCHoklch(64.74% 0.163 132.6)
XYZxyz(18.7826, 28.8178, 6.5798)
Luminance0.2882 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66A228 #6428A2
analogous
#A2A128 #66A228 #29A228
triadic
#66A228 #2866A2 #A22866
tetradic
#66A228 #28A2A1 #6428A2 #A22829
square
#66A228 #28A2A1 #6428A2 #A22829
split-complementary
#66A228 #2829A2 #A128A2
monochromatic
#284010 #47711C #66A228 #85CE39 #A3DA6A

Accessibility & contrast

On white

3.10
#66A228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#66A228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #66A228
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66A228#FFFFFF#000000##000000
##66A2281.003.106.766.76
#FFFFFF3.101.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9950E
Deuteranopia (green-blind)
#A19134
Tritanopia (blue-blind)
#679B8B
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #66a228;
/* rgb */ color: rgb(102, 162, 40);
/* oklch */ color: oklch(64.7% 0.163 132.6);
Tailwind
colors: {
  custom: {
    50: '#97be6b',
    500: '#66a228',
    950: '#000000',
  },
}
SCSS
$custom: #66a228;
$custom-light: #97be6b;
$custom-dark: #000000;
JSON
{
  "hex": "#66a228",
  "rgb": {
    "r": 102,
    "g": 162,
    "b": 40
  },
  "hsl": {
    "h": 89.508,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64741,
    "c": 0.16269,
    "h": 132.6
  },
  "luminance": 0.28819
}

Semantic roles & 50–950 ramp

primary
#66A228
secondary
#9265C1
accent
#44E493
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #66A228

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

Preview Lab → · Contrast checker → · Palette generator →

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