#6BA22C#6BA22C

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

Color values

HEX#6BA22C
RGBrgb(107, 162, 44)
HSLhsl(88, 57%, 40%)
HSVhsv(88, 73%, 64%)
CMYKcmyk(34%, 0%, 72.8%, 36.5%)
CIE-LABlab(60.91, -36.93, 52.55)
CIE-LCHlch(60.91, 64.23, 125.10°)
OKLaboklab(65.06% -0.1044 0.1181)
OKLCHoklch(65.06% 0.158 131.5)
XYZxyz(19.4382, 29.1476, 6.9843)
Luminance0.2915 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6BA22C #632CA2
analogous
#A29E2C #6BA22C #30A22C
triadic
#6BA22C #2C6BA2 #A22C6B
tetradic
#6BA22C #2CA29E #632CA2 #A22C30
square
#6BA22C #2CA29E #632CA2 #A22C30
split-complementary
#6BA22C #2C30A2 #9E2CA2
monochromatic
#2B4212 #4B721F #6BA22C #8ACB40 #A8D870

Accessibility & contrast

On white

3.07
#6BA22C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##6BA22C#FFFFFF#000000##000000
##6BA22C1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6ba22c;
/* rgb */ color: rgb(107, 162, 44);
/* oklch */ color: oklch(65.1% 0.158 131.5);
Tailwind
colors: {
  custom: {
    50: '#9abe6d',
    500: '#6ba22c',
    950: '#000000',
  },
}
SCSS
$custom: #6ba22c;
$custom-light: #9abe6d;
$custom-dark: #000000;
JSON
{
  "hex": "#6ba22c",
  "rgb": {
    "r": 107,
    "g": 162,
    "b": 44
  },
  "hsl": {
    "h": 87.966,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.65058,
    "c": 0.1576,
    "h": 131.5
  },
  "luminance": 0.29148
}

Semantic roles & 50–950 ramp

primary
#6BA22C
secondary
#926ABF
accent
#47E18F
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #6BA22C

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

Preview Lab → · Contrast checker → · Palette generator →

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