#6BA22B#6BA22B

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

Color values

HEX#6BA22B
RGBrgb(107, 162, 43)
HSLhsl(88, 58%, 40%)
HSVhsv(88, 73%, 64%)
CMYKcmyk(34%, 0%, 73.5%, 36.5%)
CIE-LABlab(60.91, -37.00, 52.91)
CIE-LCHlch(60.91, 64.56, 124.96°)
OKLaboklab(65.05% -0.1046 0.1187)
OKLCHoklch(65.05% 0.158 131.4)
XYZxyz(19.4196, 29.1402, 6.8865)
Luminance0.2914 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6BA22B #622BA2
analogous
#A29D2B #6BA22B #2FA22B
triadic
#6BA22B #2B6BA2 #A22B6B
tetradic
#6BA22B #2BA29D #622BA2 #A22B2F
square
#6BA22B #2BA29D #622BA2 #A22B2F
split-complementary
#6BA22B #2B2FA2 #9D2BA2
monochromatic
#2B4111 #4B721E #6BA22B #8ACC3E #A8D96F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6BA22B#FFFFFF#000000##000000
##6BA22B1.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)
#A99615
Deuteranopia (green-blind)
#A29236
Tritanopia (blue-blind)
#6D9B8B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #6ba22b;
/* rgb */ color: rgb(107, 162, 43);
/* oklch */ color: oklch(65.1% 0.158 131.4);
Tailwind
colors: {
  custom: {
    50: '#9abe6c',
    500: '#6ba22b',
    950: '#000000',
  },
}
SCSS
$custom: #6ba22b;
$custom-light: #9abe6c;
$custom-dark: #000000;
JSON
{
  "hex": "#6ba22b",
  "rgb": {
    "r": 107,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 87.731,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.65051,
    "c": 0.15823,
    "h": 131.4
  },
  "luminance": 0.29141
}

Semantic roles & 50–950 ramp

primary
#6BA22B
secondary
#9169C0
accent
#47E18E
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #6BA22B

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

Preview Lab → · Contrast checker → · Palette generator →

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