#6BAA21#6BAA21

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

Color values

HEX#6BAA21
RGBrgb(107, 170, 33)
HSLhsl(88, 67%, 40%)
HSVhsv(88, 81%, 67%)
CMYKcmyk(37.1%, 0%, 80.6%, 33.3%)
CIE-LABlab(63.33, -41.05, 58.53)
CIE-LCHlch(63.33, 71.49, 125.05°)
OKLaboklab(67.01% -0.1163 0.1289)
OKLCHoklch(67.01% 0.174 132)
XYZxyz(20.7124, 31.9842, 6.5208)
Luminance0.3199 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6BAA21 #6021AA
analogous
#AAA521 #6BAA21 #27AA21
triadic
#6BAA21 #216BAA #AA216B
tetradic
#6BAA21 #21AAA5 #6021AA #AA2127
square
#6BAA21 #21AAA5 #6021AA #AA2127
split-complementary
#6BAA21 #2127AA #A521AA
monochromatic
#2A430D #4B7717 #6BAA21 #8BD731 #A8E164

Accessibility & contrast

On white

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

On black

7.40
#6BAA21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6BAA21
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6BAA21#FFFFFF#000000##000000
##6BAA211.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6baa21;
/* rgb */ color: rgb(107, 170, 33);
/* oklch */ color: oklch(67.0% 0.174 132.0);
Tailwind
colors: {
  custom: {
    50: '#9bc369',
    500: '#6baa21',
    950: '#000000',
  },
}
SCSS
$custom: #6baa21;
$custom-light: #9bc369;
$custom-dark: #000000;
JSON
{
  "hex": "#6baa21",
  "rgb": {
    "r": 107,
    "g": 170,
    "b": 33
  },
  "hsl": {
    "h": 87.591,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.67013,
    "c": 0.17364,
    "h": 132
  },
  "luminance": 0.31985
}

Semantic roles & 50–950 ramp

primary
#6BAA21
secondary
#8F61C6
accent
#3DEA8D
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0F1207
muted
#7E817A

Preview Lab

Preview with #6BAA21

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

Preview Lab → · Contrast checker → · Palette generator →

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