#6AAA21#6AAA21

#6AAA21 is a light, vivid yellow-green. Relative luminance 0.319; OKLCH L 67.0% C 0.174 H 132.3°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#6AAA21
RGBrgb(106, 170, 33)
HSLhsl(88, 67%, 40%)
HSVhsv(88, 81%, 67%)
CMYKcmyk(37.6%, 0%, 80.6%, 33.3%)
CIE-LABlab(63.28, -41.41, 58.46)
CIE-LCHlch(63.28, 71.64, 125.31°)
OKLaboklab(66.96% -0.1172 0.1288)
OKLCHoklch(66.96% 0.174 132.3)
XYZxyz(20.5929, 31.9225, 6.5152)
Luminance0.3192 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6AAA21 #6121AA
analogous
#AAA621 #6AAA21 #26AA21
triadic
#6AAA21 #216AAA #AA216A
tetradic
#6AAA21 #21AAA6 #6121AA #AA2126
square
#6AAA21 #21AAA6 #6121AA #AA2126
split-complementary
#6AAA21 #2126AA #A621AA
monochromatic
#2A430D #4A7717 #6AAA21 #8AD731 #A7E164

Accessibility & contrast

On white

2.84
#6AAA21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#6AAA21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6AAA21
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6AAA21#FFFFFF#000000##000000
##6AAA211.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#A99731
Tritanopia (blue-blind)
#6BA391
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #6aaa21;
/* rgb */ color: rgb(106, 170, 33);
/* oklch */ color: oklch(67.0% 0.174 132.3);
Tailwind
colors: {
  custom: {
    50: '#9ac469',
    500: '#6aaa21',
    950: '#000000',
  },
}
SCSS
$custom: #6aaa21;
$custom-light: #9ac469;
$custom-dark: #000000;
JSON
{
  "hex": "#6aaa21",
  "rgb": {
    "r": 106,
    "g": 170,
    "b": 33
  },
  "hsl": {
    "h": 88.029,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66957,
    "c": 0.17416,
    "h": 132.3
  },
  "luminance": 0.31923
}

Semantic roles & 50–950 ramp

primary
#6AAA21
secondary
#9061C6
accent
#3DEA8E
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0F1207
muted
#7E817A

Preview Lab

Preview with #6AAA21

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

Preview Lab → · Contrast checker → · Palette generator →

#6AAA21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva