#6BA22A#6BA22A

#6BA22A is a light, vivid yellow-green. Relative luminance 0.291; OKLCH L 65.0% C 0.159 H 131.3°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#6BA22A
RGBrgb(107, 162, 42)
HSLhsl(88, 59%, 40%)
HSVhsv(88, 74%, 64%)
CMYKcmyk(34%, 0%, 74.1%, 36.5%)
CIE-LABlab(60.90, -37.06, 53.27)
CIE-LCHlch(60.90, 64.89, 124.83°)
OKLaboklab(65.04% -0.1049 0.1193)
OKLCHoklch(65.04% 0.159 131.3)
XYZxyz(19.4015, 29.1329, 6.7910)
Luminance0.2913 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6BA22A #612AA2
analogous
#A29D2A #6BA22A #2FA22A
triadic
#6BA22A #2A6BA2 #A22A6B
tetradic
#6BA22A #2AA29D #612AA2 #A22A2F
square
#6BA22A #2AA29D #612AA2 #A22A2F
split-complementary
#6BA22A #2A2FA2 #9D2AA2
monochromatic
#2B4111 #4B711D #6BA22A #8BCD3D #A8D96D

Accessibility & contrast

On white

3.08
#6BA22A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#6BA22A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6BA22A
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6BA22A#FFFFFF#000000##000000
##6BA22A1.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99613
Deuteranopia (green-blind)
#A29135
Tritanopia (blue-blind)
#6D9B8B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #6ba22a;
/* rgb */ color: rgb(107, 162, 42);
/* oklch */ color: oklch(65.0% 0.159 131.3);
Tailwind
colors: {
  custom: {
    50: '#9abe6c',
    500: '#6ba22a',
    950: '#000000',
  },
}
SCSS
$custom: #6ba22a;
$custom-light: #9abe6c;
$custom-dark: #000000;
JSON
{
  "hex": "#6ba22a",
  "rgb": {
    "r": 107,
    "g": 162,
    "b": 42
  },
  "hsl": {
    "h": 87.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.65044,
    "c": 0.15885,
    "h": 131.3
  },
  "luminance": 0.29134
}

Semantic roles & 50–950 ramp

primary
#6BA22A
secondary
#9068C0
accent
#46E28D
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #6BA22A

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

Preview Lab → · Contrast checker → · Palette generator →

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