#6BA721#6BA721

#6BA721 is a light, vivid yellow-green. Relative luminance 0.309; OKLCH L 66.3% C 0.170 H 131.6°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#6BA721
RGBrgb(107, 167, 33)
HSLhsl(87, 67%, 39%)
HSVhsv(87, 80%, 65%)
CMYKcmyk(35.9%, 0%, 80.2%, 34.5%)
CIE-LABlab(62.40, -39.76, 57.67)
CIE-LCHlch(62.40, 70.05, 124.58°)
OKLaboklab(66.25% -0.1128 0.1271)
OKLCHoklch(66.25% 0.17 131.6)
XYZxyz(20.1564, 30.8722, 6.3355)
Luminance0.3087 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6BA721 #5D21A7
analogous
#A7A021 #6BA721 #28A721
triadic
#6BA721 #216BA7 #A7216B
tetradic
#6BA721 #21A7A0 #5D21A7 #A72128
square
#6BA721 #21A7A0 #5D21A7 #A72128
split-complementary
#6BA721 #2128A7 #A021A7
monochromatic
#2A410D #4A7417 #6BA721 #8BD62F #A8E062

Accessibility & contrast

On white

2.93
#6BA721 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#6BA721 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6BA721
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6BA721#FFFFFF#000000##000000
##6BA7211.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#A69530
Tritanopia (blue-blind)
#6DA08E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #6ba721;
/* rgb */ color: rgb(107, 167, 33);
/* oklch */ color: oklch(66.3% 0.170 131.6);
Tailwind
colors: {
  custom: {
    50: '#9bc169',
    500: '#6ba721',
    950: '#000000',
  },
}
SCSS
$custom: #6ba721;
$custom-light: #9bc169;
$custom-dark: #000000;
JSON
{
  "hex": "#6ba721",
  "rgb": {
    "r": 107,
    "g": 167,
    "b": 33
  },
  "hsl": {
    "h": 86.866,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.66253,
    "c": 0.16998,
    "h": 131.6
  },
  "luminance": 0.30873
}

Semantic roles & 50–950 ramp

primary
#6BA721
secondary
#8D5FC5
accent
#3EEA8B
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0F1207
muted
#7E817A

Preview Lab

Preview with #6BA721

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

Preview Lab → · Contrast checker → · Palette generator →

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