#66AA23#66AA23

#66AA23 is a light, vivid yellow-green. Relative luminance 0.317; OKLCH L 66.8% C 0.175 H 133.4°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#66AA23
RGBrgb(102, 170, 35)
HSLhsl(90, 66%, 40%)
HSVhsv(90, 79%, 67%)
CMYKcmyk(40%, 0%, 79.4%, 33.3%)
CIE-LABlab(63.09, -42.73, 57.62)
CIE-LCHlch(63.09, 71.73, 126.56°)
OKLaboklab(66.75% -0.1204 0.1274)
OKLCHoklch(66.75% 0.175 133.4)
XYZxyz(20.1573, 31.6946, 6.6454)
Luminance0.3170 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66AA23 #6723AA
analogous
#AAAA23 #66AA23 #23AA23
triadic
#66AA23 #2366AA #AA2366
tetradic
#66AA23 #23AAAA #6723AA #AA2323
square
#66AA23 #23AAAA #6723AA #AA2323
split-complementary
#66AA23 #2323AA #AA23AA
monochromatic
#29440E #487719 #66AA23 #85D535 #A3E068

Accessibility & contrast

On white

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

On black

7.34
#66AA23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #66AA23
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66AA23#FFFFFF#000000##000000
##66AA231.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #66aa23;
/* rgb */ color: rgb(102, 170, 35);
/* oklch */ color: oklch(66.8% 0.175 133.4);
Tailwind
colors: {
  custom: {
    50: '#98c46a',
    500: '#66aa23',
    950: '#000000',
  },
}
SCSS
$custom: #66aa23;
$custom-light: #98c46a;
$custom-dark: #000000;
JSON
{
  "hex": "#66aa23",
  "rgb": {
    "r": 102,
    "g": 170,
    "b": 35
  },
  "hsl": {
    "h": 90.222,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.66752,
    "c": 0.17531,
    "h": 133.4
  },
  "luminance": 0.31696
}

Semantic roles & 50–950 ramp

primary
#66AA23
secondary
#9563C6
accent
#3FE995
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #66AA23

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

Preview Lab → · Contrast checker → · Palette generator →

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